x_prob
Return a test problem for a given problem type. (Under development)
Syntax
[prob,sol,fmin] = x_prob(no)
no = x_prob()
Description
[prob,sol,fmin] = x_prob(no) returns an optiprob problem, as well as the solution and objective function and the solution, for a given problem number, no. Substitute 'x' for the problem type you want, e.g. for an LP use lp_prob.
no = x_prob() returns the maximum number of problems available for use.
Example
To return the first MILP problem, use:
>> prob = milp_prob(1)
Copyright © 2011-2013 Jonathan Currie (I2C2)