runMIP is an internal function for
running a MIP solver.
runMIP(
solver,
obj,
mat,
dir,
rhs,
maximize,
types,
verbosity,
time_limit,
gap_limit_abs,
gap_limit
)runMIP returns solver output.
This will have different structures depending on what solver is used.
the solver name.
a length-nd vector containing objective values.
a (nc, nd) matrix containing left-hand side constraint coefficients.
a length-nc vector containing equality signs.
a length-nc vector containing right-hand side values.
TRUE to maximize the objective function.
FALSE to minimize the objective function.
the verbosity level.
the time limit.
the gap limit in absolute metric. This determines the criteria the solver uses to declare that optimality is reached.
the gap limit in relative metric. This determines the criteria the solver uses to declare that optimality is reached.