Initializing help system before first use

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.

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