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