cplex_interface_meta.cpp
1 /*
2  * This file is part of CasADi.
3  *
4  * CasADi -- A symbolic framework for dynamic optimization.
5  * Copyright (C) 2010-2023 Joel Andersson, Joris Gillis, Moritz Diehl,
6  * KU Leuven. All rights reserved.
7  * Copyright (C) 2011-2014 Greg Horn
8  *
9  * CasADi is free software; you can redistribute it and/or
10  * modify it under the terms of the GNU Lesser General Public
11  * License as published by the Free Software Foundation; either
12  * version 3 of the License, or (at your option) any later version.
13  *
14  * CasADi is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17  * Lesser General Public License for more details.
18  *
19  * You should have received a copy of the GNU Lesser General Public
20  * License along with CasADi; if not, write to the Free Software
21  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
22  *
23  */
24 
25 
26  #include "cplex_interface.hpp"
27  #include <string>
28 
29  const std::string casadi::CplexInterface::meta_doc=
30  "\n"
31 "\n"
32 "\n"
33 "Interface to Cplex solver for sparse Quadratic Programs\n"
34 "\n"
35 "Extra doc: https://github.com/casadi/casadi/wiki/L_22a \n"
36 "\n"
37 "\n"
38 ">List of available options\n"
39 "\n"
40 "+----------------+-----------------------+---------------------------------+\n"
41 "| Id | Type | Description |\n"
42 "+================+=======================+=================================+\n"
43 "| cplex | OT_DICT | Options to be passed to CPLEX |\n"
44 "+----------------+-----------------------+---------------------------------+\n"
45 "| dep_check | OT_INT | Detect redundant constraints. |\n"
46 "+----------------+-----------------------+---------------------------------+\n"
47 "| dump_filename | OT_STRING | The filename to dump to. |\n"
48 "+----------------+-----------------------+---------------------------------+\n"
49 "| dump_to_file | OT_BOOL | Dumps QP to file in CPLEX |\n"
50 "| | | format. |\n"
51 "+----------------+-----------------------+---------------------------------+\n"
52 "| mip_start | OT_BOOL | Hot start integers with x0 |\n"
53 "| | | [Default false]. |\n"
54 "+----------------+-----------------------+---------------------------------+\n"
55 "| qp_method | OT_INT | Determines which CPLEX |\n"
56 "| | | algorithm to use. |\n"
57 "+----------------+-----------------------+---------------------------------+\n"
58 "| sos_groups | OT_INTVECTORVECTOR | Definition of SOS groups by |\n"
59 "| | | indices. |\n"
60 "+----------------+-----------------------+---------------------------------+\n"
61 "| sos_types | OT_INTVECTOR | Specify 1 or 2 for each SOS |\n"
62 "| | | group. |\n"
63 "+----------------+-----------------------+---------------------------------+\n"
64 "| sos_weights | OT_DOUBLEVECTORVECTOR | Weights corresponding to SOS |\n"
65 "| | | entries. |\n"
66 "+----------------+-----------------------+---------------------------------+\n"
67 "| tol | OT_DOUBLE | Tolerance of solver |\n"
68 "+----------------+-----------------------+---------------------------------+\n"
69 "| version_suffix | OT_STRING | Specify version of cplex to |\n"
70 "| | | load. We will attempt to load l |\n"
71 "| | | ibcplex<version_suffix>.[so|dll |\n"
72 "| | | |dylib]. Default value is taken |\n"
73 "| | | from CPLEX_VERSION env |\n"
74 "| | | variable. |\n"
75 "+----------------+-----------------------+---------------------------------+\n"
76 "| warm_start | OT_BOOL | Use warm start with simplex |\n"
77 "| | | methods (affects only the |\n"
78 "| | | simplex methods). |\n"
79 "+----------------+-----------------------+---------------------------------+\n"
80 "\n"
81 "\n"
82 "\n"
83 "\n"
84 ;
static const std::string meta_doc
A documentation string.