SOLUTIONFILE
Description The SOLUTIONFILE control is deprecated and will be removed in version 18. Binary solution files are no longer created automatically and it is now necessary to explicitly create a binary solution file with the XPRSwritebinsol (WRITEBINSOL) command. The XPRSwriteprtsol (WRITEPRTSOL), XPRSwritesol (WRITESOL) and PRINTSOL commands will write or print reports for the solution in memory. To write a report on a solution in binary solution file, the solution must first be loaded with the XPRSreadbinsol (READBINSOL) command.The XPRSgetbasis, XPRSgetinfeas and XPRSgetlpsol commands all obtain information from the solution in memory. To obtain information on a solution in binary solution file, the solution must first be loaded with the XPRSreadbinsol (READBINSOL) command.
The XPRSgetsol function is deprecated and will be removed in version 18. Users should use the XPRSgetlpsol function to get the current LP solution and XPRSgetmipsol function to get the last found MIP solution. The XPRSgetlpsol will read the current LP solution from memory and the XPRSgetmipsol will read the current MIP solution from memory.
Type Integer Values
-1 The binary file is not created. The XPRSgetsol function will return the LP solution until the MIP search starts at which point the last found MIP solution will be returned. 0 The binary file is not created. The XPRSgetsol function will return the current solution in memory. 1 The binary solution file will be created and used to store the final LP solution, or, if a MIP solution has been found, the best known MIP solution. The solution is written to the file by the XPRSmaxim (MAXIM), XPRSminim (MINIM) and XPRSglobal (GLOBAL) functions. The binary solution file will remain after the Optimizer has finished. Default value -1 Notes The solution stored in memory is overwritten by certain operations, including infeasibility analysis (XPRSiis). If the solution is required from the solution file, it should be obtained before any call to XPRSgetiis. Affects routines
If you have any comments or suggestions about these pages, please send mail to docs@dashoptimization.com.