Go to the documentation of this file.
130 double lower,
double upper,
double dflt = 0.0,
131 bool display =
true);
138 int lower,
int upper,
int dflt = 0,
139 bool display =
true);
151 std::string firstValue,
int dflt,
bool display =
true);
160 std::string dflt,
bool display =
true);
165 bool display =
true);
241 void saveSolution(
const OsiSolverInterface *osi, std::string fileName);
243 int &numRows,
int &numCols,
double &objVal,
244 double **rowActivity,
double **dualVars,
245 double **primalVars,
double **reducedCosts);
~CbcGenParam()
Destructor.
int pushCbcGenCutParam(CoinParam *param)
void loadGenParamObj(const CoinParamVec paramVec, int first, int last, CbcGenCtlBlk *ctlBlk)
int doBaCParam(CoinParam *param)
Class for cbc-generic control parameters.
CbcGenParam * clone()
Clone.
int pushCbcGenStrParam(CoinParam *param)
CbcGenParam(CbcGenParamCode code, std::string name, std::string help, std::string dflt, bool display=true)
Constructor for a string parameter.
CbcGenParam()
Default constructor.
void saveSolution(const OsiSolverInterface *osi, std::string fileName)
int doExitParam(CoinParam *param)
int pushCbcGenIntParam(CoinParam *param)
int doUnimplementedParam(CoinParam *param)
int pushCbcGenDblParam(CoinParam *param)
CbcGenParam(CbcGenParamCode code, std::string name, std::string help, std::string firstValue, int dflt, bool display=true)
Constructor for a parameter with keyword values.
int pushCbcGenKwdParam(CoinParam *param)
CbcGenParam(CbcGenParamCode code, std::string name, std::string help, int lower, int upper, int dflt=0, bool display=true)
Constructor for a parameter with an integer value.
void setObj(CbcGenCtlBlk *obj)
Set the underlying cbc-generic control object.
int doVersionParam(CoinParam *param)
CbcGenParam(CbcGenParamCode code, std::string name, std::string help, double lower, double upper, double dflt=0.0, bool display=true)
Constructor for a parameter with a double value.
int doNothingParam(CoinParam *param)
void setParamCode(CbcGenParamCode code)
Set the parameter code.
int doDebugParam(CoinParam *param)
CbcGenParam(CbcGenParamCode code, std::string name, std::string help, bool display=true)
Constructor for an action parameter.
CbcGenParam(const CbcGenParam &orig)
Copy constructor.
CbcGenParamCode paramCode() const
Get the parameter code
CbcGenCtlBlk * obj_
cbc-generic control object
CbcGenParamCode paramCode_
Parameter code.
void addCbcGenParams(int &numParams, CoinParamVec ¶mVec, CbcGenCtlBlk *ctlBlk)
CbcGenParam & operator=(const CbcGenParam &rhs)
Assignment.
int doImportParam(CoinParam *param)
CbcGenCtlBlk * obj() const
Get the underlying cbc-generic control object.
int doSolutionParam(CoinParam *param)
CbcGenParamCode
Enumeration for cbc-generic parameters.
bool readSolution(std::string fileName, int &numRows, int &numCols, double &objVal, double **rowActivity, double **dualVars, double **primalVars, double **reducedCosts)
int doPrintMaskParam(CoinParam *param)
int doHelpParam(CoinParam *param)