Download LINDO API USER MANUAL

Transcript
FUNCTION DEFINITIONS
249
LSgetMIPVarStartPointPartial ()
Description:
Retrieves the resident initial point for MIP/MINLP models.
Returns:
0 if successful, else one of the error codes listed in Appendix A, Error Codes
Prototype:
int
LSgetMIPVarStartPointPartial(pLSmodel pModel, int
*pnCols, int *paiCols, double *padPrimal)
Input Arguments:
Name
Description
pModel
A reference to an instance of LSmodel.
pnCols
An integer reference to return the number of variables in the
partial solution.
paiCols
A vector to return the indicies of variables in the partial
solution.
padPrimal
A vector to return the values of the partial solution.
LSgetMIPVarStartPoint ()
Description:
Retrieves the values of the initial MIP primal solution.
Returns:
0 if successful, else one of the error codes listed in Appendix A, Error Codes
Prototype:
int
LSgetMIPVarStartPoint(pLSmodel pModel, double
*padPrimal)
Input Arguments:
Name
Description
pModel
A reference to an instance of LSmodel.
padPrimal
A pointer to a double precision vector containing starting
values for each variable in the given MIP model. The length of
this vector is equal to the number of variables in the model.