Matrix related functions
The functions presented in this section are used to obtain the matrix representation of the current problem (LP/MIP) from Mosel and to inform Mosel about the result of a solution process that has been used on the provided matrix. The data structure used to represent a matrix (XPRMmatrix) is not described in this document, the reader is referred to the header file mosel_sl.h for further details. The structure XPRMmipsolver is documented with the function loadmat.
chgmatsolv |
Change the MIP solver interface currently in use.
|
genmpnames |
Generate row, SOS and column names.
|
getinfcause |
Get the reference of the variable causing the failure in `loadmat'.
|
getmatsize |
Get matrix size information.
|
getmatsolv |
Get the MIP solver interface currently in use.
|
getmpname |
Get a row, SOS or column name.
|
getnextcol |
Get the next column in the matrix.
|
getnextrow |
Get the next row in the matrix.
|
getnextsos |
Get the next SOS in the matrix.
|
getprobnextctr |
Get the next constraint in the problem.
|
getprobobj |
Get the current objective function.
|
getvarorder |
Get the internal order number of a decision variable.
|
loadmat |
Produce a matrix representation of the current problem.
|
reordercols |
Change the order of the columns in a matrix.
|
resetsolv |
Release the memory used for solving a problem.
|
setprobstat |
Set the problem status.
|