Click or drag to resize

XPRBprobloadMat Method

Load a problem into Xpress-Optimizer. This method transforms the current BCL problem definition into a matrix in Xpress-Optimizer. Empty rows and columns are deleted before generating the matrix. Semi-continuous (integer) variables are preprocessed: if a lower bound value greater than 0 is given, then the variable is treated like a continuous (resp. integer) variable. Variables that belong to the problem but do not appear in the matrix receive negative column numbers. Usually, it is not necessary to call this method explicitly because BCL automatically does this conversion whenever it is required.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public int loadMat()

Return Value

Int32
0 on success, 1 otherwise.
Example
xbcutstk.cs, xbels.cs and xbrecurs.cs in the Advanced Examples folder. xbcontr1.cs in the User's Guide Examples folder.
See Also