Initializing help system before first use

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)
procedure loadprob(objs: list, objconfs: list of objconfig, extravar: set of mpvar)
procedure loadprob(objs: list, objconfs: list of objconfig)
procedure loadprob(objs: array(range), objconfs: array(range) of objconfig, extravar: set of mpvar)
procedure loadprob(objs: array(range), objconfs: array(range) of objconfig)
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
objs 
Objective functions of type linctr, nlctr or mpvar (multi-objective)
objconfs 
Objective configurations (multi-objective)
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.
5. The objs parameter must be a list or array containing objects of type linctr, nlctr or mpvar or a union of these types. See the Xpress Optimizer Reference Manual for more information about multi-objective optimization.
Related topics
Module

© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.