#include <CbcOrClpParam.hpp>
stuff | |
void | append (std::string keyWord) |
Insert string (only valid for keywords). | |
void | addHelp (std::string keyWord) |
Adds one help line. | |
std::string | name () const |
Returns name. | |
std::string | shortHelp () const |
Returns short help. | |
int | setDoubleParameter (CbcModel &model, double value) |
Sets a double parameter (nonzero code if error). | |
double | doubleParameter (CbcModel &model) const |
Gets a double parameter. | |
int | setIntParameter (CbcModel &model, int value) |
Sets a int parameter (nonzero code if error). | |
int | intParameter (CbcModel &model) const |
Gets a int parameter. | |
int | setDoubleParameter (ClpSimplex *model, double value) |
Sets a double parameter (nonzero code if error). | |
double | doubleParameter (ClpSimplex *model) const |
Gets a double parameter. | |
int | setIntParameter (ClpSimplex *model, int value) |
Sets a int parameter (nonzero code if error). | |
int | intParameter (ClpSimplex *model) const |
Gets a int parameter. | |
int | setDoubleParameter (OsiSolverInterface *model, double value) |
Sets a double parameter (nonzero code if error). | |
double | doubleParameter (OsiSolverInterface *model) const |
Gets a double parameter. | |
int | setIntParameter (OsiSolverInterface *model, int value) |
Sets a int parameter (nonzero code if error). | |
int | intParameter (OsiSolverInterface *model) const |
Gets a int parameter. | |
int | checkDoubleParameter (double value) const |
Checks a double parameter (nonzero code if error). | |
std::string | matchName () const |
Returns name which could match. | |
int | parameterOption (std::string check) const |
Returns parameter option which matches (-1 if none). | |
void | printOptions () const |
Prints parameter options. | |
std::string | currentOption () const |
Returns current parameter option. | |
void | setCurrentOption (int value, bool printIt=false) |
Sets current parameter option. | |
void | setCurrentOption (const std::string value) |
Sets current parameter option using string. | |
void | setIntValue (int value) |
Sets int value. | |
int | intValue () const |
Insert string (only valid for keywords). | |
void | setDoubleValue (double value) |
Sets double value. | |
double | doubleValue () const |
Insert string (only valid for keywords). | |
void | setStringValue (std::string value) |
Sets string value. | |
std::string | stringValue () const |
Insert string (only valid for keywords). | |
int | matches (std::string input) const |
Returns 1 if matches minimum, 2 if matches less, 0 if not matched. | |
CbcOrClpParameterType | type () const |
type | |
bool | displayThis () const |
whether to display | |
void | setLonghelp (const std::string help) |
Set Long help. | |
void | printLongHelp () const |
Print Long help. | |
void | printString () const |
Print action and string. | |
int | whereUsed () const |
7 if used everywhere, 1 - used by clp 2 - used by cbc 4 - used by ampl | |
void | gutsOfConstructor () |
gutsOfConstructor | |
Public Member Functions | |
Constructor and destructor | |
CbcOrClpParam () | |
Constructors. | |
CbcOrClpParam (std::string name, std::string help, double lower, double upper, CbcOrClpParameterType type, bool display=true) | |
Constructors. | |
CbcOrClpParam (std::string name, std::string help, int lower, int upper, CbcOrClpParameterType type, bool display=true) | |
Constructors. | |
CbcOrClpParam (std::string name, std::string help, std::string firstValue, CbcOrClpParameterType type, int whereUsed=7, bool display=true) | |
Constructors. | |
CbcOrClpParam (std::string name, std::string help, CbcOrClpParameterType type, int whereUsed=7, bool display=true) | |
Constructors. | |
CbcOrClpParam (const CbcOrClpParam &) | |
Copy constructor. | |
CbcOrClpParam & | operator= (const CbcOrClpParam &rhs) |
Assignment operator. This copies the data. | |
~CbcOrClpParam () | |
Destructor. | |
Private Attributes | |
data | |
We might as well throw all type data in - could derive? | |
CbcOrClpParameterType | type_ |
double | lowerDoubleValue_ |
If double == okay. | |
double | upperDoubleValue_ |
int | lowerIntValue_ |
If int == okay. | |
int | upperIntValue_ |
unsigned int | lengthName_ |
unsigned int | lengthMatch_ |
std::vector< std::string > | definedKeyWords_ |
set of valid strings | |
std::string | name_ |
Name. | |
std::string | shortHelp_ |
Short help. | |
std::string | longHelp_ |
Long help. | |
CbcOrClpParameterType | action_ |
Action. | |
int | currentKeyWord_ |
Current keyWord (if a keyword parameter). | |
bool | display_ |
Display on ? | |
int | intValue_ |
Integer parameter - current value. | |
double | doubleValue_ |
Double parameter - current value. | |
std::string | stringValue_ |
String parameter - current value. | |
int | whereUsed_ |
7 if used everywhere, 1 - used by clp 2 - used by cbc 4 - used by ampl |
Definition at line 89 of file CbcOrClpParam.hpp.
|
Constructors.
|
|
Constructors.
|
|
Constructors.
|
|
Constructors.
|
|
Constructors.
|
|
Copy constructor.
|
|
Destructor.
|
|
Assignment operator. This copies the data.
|
|
Insert string (only valid for keywords).
|
|
Adds one help line.
|
|
Returns name.
Definition at line 121 of file CbcOrClpParam.hpp. |
|
Returns short help.
Definition at line 125 of file CbcOrClpParam.hpp. |
|
Sets a double parameter (nonzero code if error).
|
|
Gets a double parameter.
|
|
Sets a int parameter (nonzero code if error).
|
|
Gets a int parameter.
|
|
Sets a double parameter (nonzero code if error).
|
|
Gets a double parameter.
|
|
Sets a int parameter (nonzero code if error).
|
|
Gets a int parameter.
|
|
Sets a double parameter (nonzero code if error).
|
|
Gets a double parameter.
|
|
Sets a int parameter (nonzero code if error).
|
|
Gets a int parameter.
|
|
Checks a double parameter (nonzero code if error).
|
|
Returns name which could match.
|
|
Returns parameter option which matches (-1 if none).
|
|
Prints parameter options.
|
|
Returns current parameter option.
Definition at line 161 of file CbcOrClpParam.hpp. |
|
Sets current parameter option.
|
|
Sets current parameter option using string.
|
|
Sets int value.
|
|
Insert string (only valid for keywords).
Definition at line 169 of file CbcOrClpParam.hpp. |
|
Sets double value.
|
|
Insert string (only valid for keywords).
Definition at line 173 of file CbcOrClpParam.hpp. |
|
Sets string value.
|
|
Insert string (only valid for keywords).
Definition at line 177 of file CbcOrClpParam.hpp. |
|
Returns 1 if matches minimum, 2 if matches less, 0 if not matched.
|
|
type
Definition at line 182 of file CbcOrClpParam.hpp. References CbcOrClpParameterType. |
|
whether to display
Definition at line 185 of file CbcOrClpParam.hpp. |
|
Set Long help.
Definition at line 188 of file CbcOrClpParam.hpp. |
|
Print Long help.
|
|
Print action and string.
|
|
7 if used everywhere, 1 - used by clp 2 - used by cbc 4 - used by ampl
Definition at line 199 of file CbcOrClpParam.hpp. |
|
gutsOfConstructor
|
|
Definition at line 214 of file CbcOrClpParam.hpp. |
|
If double == okay.
Definition at line 216 of file CbcOrClpParam.hpp. |
|
Definition at line 217 of file CbcOrClpParam.hpp. |
|
If int == okay.
Definition at line 219 of file CbcOrClpParam.hpp. |
|
Definition at line 220 of file CbcOrClpParam.hpp. |
|
Definition at line 222 of file CbcOrClpParam.hpp. |
|
Definition at line 224 of file CbcOrClpParam.hpp. |
|
set of valid strings
Definition at line 226 of file CbcOrClpParam.hpp. |
|
Name.
Definition at line 228 of file CbcOrClpParam.hpp. |
|
Short help.
Definition at line 230 of file CbcOrClpParam.hpp. |
|
Long help.
Definition at line 232 of file CbcOrClpParam.hpp. |
|
Action.
Definition at line 234 of file CbcOrClpParam.hpp. |
|
Current keyWord (if a keyword parameter).
Definition at line 236 of file CbcOrClpParam.hpp. |
|
Display on ?
Definition at line 238 of file CbcOrClpParam.hpp. |
|
Integer parameter - current value.
Definition at line 240 of file CbcOrClpParam.hpp. |
|
Double parameter - current value.
Definition at line 242 of file CbcOrClpParam.hpp. |
|
String parameter - current value.
Definition at line 244 of file CbcOrClpParam.hpp. |
|
7 if used everywhere, 1 - used by clp 2 - used by cbc 4 - used by ampl
Definition at line 250 of file CbcOrClpParam.hpp. |