Initializing help system before first use

XPRS_msp_loadsol

Purpose
Loads a solution into a MIP solution pool.
Synopsis
int XPRS_CC XPRS_msp_loadsol(XPRSmipsolpool msp, int * const iSolutionId, const double x[], const int nCols, const char *sSolutionName, int * const bNameModifiedForUniqueness, int * const bSolutionNotLoadedBecauseOfDuplication)
Arguments
msp 
The current MIP solution pool.
iSolutionId 
Pointer to the integer where the id of the loaded solution will be returned.
Double array of length nCols containing the solution to be stored.
nCols 
The number of elements in the solution array x.
sSolutionName 
The name to use to identify the solution to be stored. If the given name already exists then the name to be stored will have characters appended to ensure the resulting name is unique among the stored solutions. If sSolutionName is passed as NULL then a unique name will be generated automatically for the solution.
bNameModifiedForUniqueness 
Pointer to an integer returning 1 if it was necessary for the given solution name sNewSolutionBaseName to be modified to maintain uniqueness of solution names; 0 otherwise.
bSolutionNotLoadedBecauseOfDuplication 
Pointer to an integer returning 1 if the solution was rejected because it was found to a duplicate of an existing solution; 0 otherwise.
Further information
Information about the solution with respect to a problem can be obtained via routines XPRS_msp_getdblattribprobsol, XPRS_msp_getintattribprobsol, XPRS_msp_getdblattribsol and XPRS_msp_getintattribsol.
Related topics

© 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.