Initializing help system before first use

chgmatsolv

chgmatsolv


Purpose
Change the MIP solver interface currently in use.
Synopsis
int chgmatsolv(XPRMcontext ctx, XPRMmipsolver *mipslv, void *mipctx);
Arguments
ctx 
Mosel's execution context
mipslv 
A MIP solver interface (may be NULL to preserve the current value)
mipctx 
The associated context (may be NULL to preserve the current value)
Return value
0 if executed successfully, a non-zero value otherwise.
Further information
This function replaces the currently used MIP solver interface or its context (this interface is provided to Mosel by the function loadmat). No operation is performed with the solver to be replaced (in particular, the matrix is not unloaded).
Related topics