Function Quick Reference
Administration
XPRSinit | Initialize the Optimizer. |
XPRScreateprob | Create a problem pointer. |
XPRSsetlogfile | Direct all Optimizer output to a log file. |
XPRSaddcbmessage | Define a message handler callback function. |
XPRSgetintcontrol | Get the value of an integer control, |
XPRSsetintcontrol | Set the value of an integer control. |
XPRSinterrupt | Set the interrupt status of an optimization run. |
XPRSdestroyprob | Destroy a problem pointer. |
XPRSfree | Release resources used by the Optimizer. |
Problem Loading
XPRSreadprob | Read an MPS or LP format file. |
XPRSloadlp | Load an LP problem. |
XPRSloadqp | Load a quadratic objective problem. |
XPRSloadqcqp | Load a quadratically constrained, quadratic objective problem. |
XPRSloadglobal | Load a MIP problem. |
XPRSloadqglobal | Load a quadratic objective MIP problem. |
XPRSloadqcqpglobal | Load a quadratically constrained, quadratic objective MIP problem. |
XPRSaddnames | Load names for a range of rows or columns in a problem. |
Problem Solving
XPRSreadbasis | Read a basis from file. |
XPRSloadbasis | Load a basis from user arrays. |
XPRSreaddirs | Read a directives file. |
XPRSlpoptimize | Solve the problem without global entities. |
XPRSmipoptimize | Run the problem with global entities. |
XPRSfixglobals | Fix the discrete variables in the problem to the values of the current |
MIP solution stored with the problem pointer. | |
XPRSgetbasis | Copy the current basis into user arrays. |
XPRSwritebasis | Write the current basis to file. |
Results Processing
XPRSwritesol | Write the current solution to ASCII files. |
XPRSwriteprtsol | Write the current solution in printable format to file. |
XPRSgetlpsol | Copy the current LP solution values into user arrays. |
XPRSgetmipsol | Copy the values of the last MIP solution into user arrays. |
XPRSgetintattrib | Get the value of an integer problem attribute e.g., by passing the id |
MIPSOLS the user can get the number of MIP solutions found. | |
XPRSgetdblattrib | Get the value of a double problem attribute e.g., by passing the id |
MIPOBJVAL the user can get the objective value of the last MIP | |
solution. | |
XPRSgetstrattrib | Get the value of a string problem attribute. |