Initializing help system before first use

loadMat 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: 37.1.1.0
Syntax
C#
VB
public int loadMat()

Return Value

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