Load an mps
file and solve
the problem it describes.
Load the eil33.2.mps
file from a public
repository. View the problem type.
problem =
f: [4516x1 double]
Aineq: [0x4516 double]
bineq: [0x1 double]
Aeq: [32x4516 double]
beq: [32x1 double]
lb: [4516x1 double]
ub: [4516x1 double]
intcon: [4516x1 double]
solver: 'intlinprog'
options: [1x1 optim.options.Intlinprog]
Notice that problem.intcon
is not empty,
and problem.solver
is 'intlinprog'
.
The problem is an integer linear programming problem.
Change the options to suppress iterative display and to
generate a plot as the solver progresses.
Solve the problem by calling intlinprog
.
Optimal solution found.
Intlinprog stopped because the objective value is within a gap tolerance of the optimal
value, options.TolGapRel = 0.0001 (the default value). The intcon variables are
integer within tolerance, options.TolInteger = 1e-05 (the default value).
