XPRS_msp_writeslxsol (MSP_WRITESLXSOL)
int XPRS_CC XPRS_msp_writeslxsol(XPRSmipsolpool msp, XPRSprob prob_context, int iSolutionId, int * iSolutionIdStatus, const char * sFileName, const char * sFlags)
msp
|
The current MIP solution pool.
|
||||||
prob_context
|
Pointer to a problem. Can be NULL. See table below for interpretation in terms of function behaviour.
|
||||||
iSolutionId
|
The id of a solution to write; otherwise a flag. See table below for interpretation in terms of function behaviour.
|
||||||
iSolutionIdStatus
|
Pointer to an
int where the status of the
iSolutionId will be returned. The returned value is one of:
|
||||||
sFileName
|
Null terminated string containing the file name to which the solution(s) is to be written.
|
||||||
sFlags
|
Flags for
XPRS_msp_writeslxsol:
|
prob_context | iSolutionId | Behaviour |
Non-NULL | < 0 | Write out all feasible solutions to prob_context. Use the column names in prob_context. |
Non-NULL | 0 | Write out a feasible solution to prob_context with the best objective (given the OBJSENSE value of prob_context). Use the column names in prob_context. |
Non-NULL | > 0 | Write out the solution with ID iSolutionId. It is an error if the solution does not have the same number of columns as prob_context. Use the column names in prob_context. |
NULL | ≤ 0 | Write out all solutions. Use automatically generated column names. |
NULL | > 0 | Write out the solution with ID iSolutionId. Use automatically generated column names. |
© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.