Initializing help system before first use

getvcinfcause

getvcinfcause


Purpose
Get the reference of the variable or constraint causing the failure in `loadmat'.
Synopsis
void *getvcinfcause(XPRMcontext ctx, int *what);
Arguments
ctx 
Mosel's execution context
what 
A reference to report the type of the returned pointer ( 1 for a decision variable and 2 for a constraint
Return value
Reference to a decision variable or constraint or NULL.
Further information
This function may be called after the loadmat function if this one returns a positive value (the matrix could not be loaded because of inconsistent bounds). The reference returned is the variable (type XPRMmpvar) or constraint (type XPRMlinctr) for which bounds are inconsistent.
Related topics