26 #include "xpress_interface.hpp"
33 "Interface to FICO Xpress Optimizer for sparse Linear, Quadratic and \n"
34 "Mixed-Integer Quadratic Programs. See https://www.fico.com/en/products/fico-xpress-optimization for more information and the Xpress reference manual for the list of \n"
35 "controls (options) accepted under the xpress option dict.\n"
37 "Extra doc: https://github.com/casadi/casadi/wiki/L_xpress \n"
40 ">List of available options\n"
42 "+-------------+-----------------------+------------------------------------+\n"
43 "| Id | Type | Description |\n"
44 "+=============+=======================+====================================+\n"
45 "| compute_iis | OT_BOOL | When the problem is infeasible, |\n"
46 "| | | compute an IIS immediately after |\n"
47 "| | | the solve and expose it in |\n"
48 "| | | get_stats() as iis_rows / |\n"
49 "| | | iis_cols. IIS computation can be |\n"
50 "| | | expensive; set to false to skip it |\n"
51 "| | | [Default false]. |\n"
52 "+-------------+-----------------------+------------------------------------+\n"
53 "| log_file | OT_STRING | Write solver log to this file path |\n"
54 "| | | via XPRSsetlogfile. Useful for |\n"
55 "| | | capturing output (e.g. warm-start |\n"
56 "| | | acceptance messages) in automated |\n"
57 "| | | tests. Empty string (default) |\n"
58 "| | | disables file logging. |\n"
59 "+-------------+-----------------------+------------------------------------+\n"
60 "| mip_start | OT_BOOL | Pass x0 as an initial integer |\n"
61 "| | | solution hint to Xpress via |\n"
62 "| | | XPRSaddmipsol before the MIP solve |\n"
63 "| | | [Default false]. |\n"
64 "+-------------+-----------------------+------------------------------------+\n"
65 "| sos_groups | OT_INTVECTORVECTOR | Definition of SOS groups by |\n"
67 "+-------------+-----------------------+------------------------------------+\n"
68 "| sos_types | OT_INTVECTOR | Specify 1 or 2 for each SOS group. |\n"
69 "+-------------+-----------------------+------------------------------------+\n"
70 "| sos_weights | OT_DOUBLEVECTORVECTOR | Weights corresponding to SOS |\n"
72 "+-------------+-----------------------+------------------------------------+\n"
73 "| xpress | OT_DICT | Options to be passed to FICO |\n"
74 "| | | Xpress. Each entry's key is the |\n"
75 "| | | Xpress control name (e.g. |\n"
76 "| | | \"OUTPUTLOG\", \"MAXTIME\", |\n"
77 "| | | \"MIPRELSTOP\"); the value's type |\n"
78 "| | | must match the control's type (int |\n"
79 "| | | / double / string). |\n"
80 "+-------------+-----------------------+------------------------------------+\n"
static const std::string meta_doc
A documentation string.