Initializing help system before first use

loadprob

loadprob


Purpose
Load a problem into the optimizer.
Synopsis
procedure loadprob(obj:linctr)
procedure loadprob(obj:linctr, extravar:set of mpvar)
procedure loadprob(qobj:qexp)
procedure loadprob(qobj:qexp, extravar:set of mpvar)
procedure loadprob(nlobj:nlctr)
procedure loadprob(nlobj:nlctr, extravar:set of mpvar)
procedure loadprob(rbobj:robustctr)
procedure loadprob(rbobj:robustctr, extravar:set of mpvar)
Arguments
obj 
Objective function constraint
qobj 
Quadratic objective function (with module mmquad)
nlobj 
Non linear objective function (with module mmnl)
rbobj 
Robust objective function (with module mmrobust)
extravar 
Extra variables to include
Further information
1. This procedure explicitly loads a problem into the optimizer. It gets called automatically by the optimization procedures minimize and maximize if the problem has been modified in Mosel since the last call to the optimizer. Nevertheless in some cases, namely before loading a basis, it may be necessary to reload the problem explicitly using this procedure. The parameter extravar is a set of variables to be included into the problem even if they do not appear in any constraint ( i.e. they become empty columns in the matrix).
2. Support for quadratic programming requires the module mmnl.
3. Support for general nonlinear programming requires the module mmxnlp.
4. Support for robust programming requires the module mmrobust.
Related topics
Module