XPRS_msp_loadsol
| 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.
     | 
| 
     x 
     | 
     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
 
 XPRS_msp_getdblattribprobsol,
 XPRS_msp_getintattribprobsol,
 XPRS_msp_getdblattribsol,
 XPRS_msp_getintattribsol.
 
 
