This allows the use of an unknown user stuff including modeling languages. More...
#include <CbcSolver.hpp>

Public Member Functions | |
import/export methods | |
| virtual int | importData (CbcSolver *model, int &argc, char *argv[]) |
| Import - gets full command arguments Returns -1 - no action 0 - data read in without error 1 - errors. | |
| virtual void | exportSolution (CbcSolver *model, int mode, const char *message=NULL) |
| Export 1 OsiClpSolver, 2 CbcModel - add 10 if infeasible from odd situation. | |
| virtual void | exportData (CbcSolver *model) |
| Export Data (i.e. at very end). | |
| virtual void | fillInformation (CbcSolver *model, CbcSolverUsefulData &info) |
| Get useful stuff. | |
usage methods | |
| CoinModel * | coinModel () const |
| CoinModel if valid. | |
| virtual void * | stuff () |
| Other info - needs expanding. | |
| std::string | name () const |
| Name. | |
| virtual void | solve (CbcSolver *model, const char *options)=0 |
| Solve (whatever that means). | |
| virtual bool | canDo (const char *options)=0 |
| Returns true if function knows about option. | |
Constructors and destructors etc | |
| CbcUser () | |
| Default Constructor. | |
| CbcUser (const CbcUser &rhs) | |
| Copy constructor . | |
| CbcUser & | operator= (const CbcUser &rhs) |
| Assignment operator. | |
| virtual CbcUser * | clone () const =0 |
| Clone. | |
| virtual | ~CbcUser () |
| Destructor. | |
Protected Attributes | |
Private member data | |
| CoinModel * | coinModel_ |
| CoinModel. | |
| std::string | userName_ |
| Name of user function. | |
This allows the use of an unknown user stuff including modeling languages.
Definition at line 211 of file CbcSolver.hpp.
| CbcUser::CbcUser | ( | ) |
Default Constructor.
| CbcUser::CbcUser | ( | const CbcUser & | rhs | ) |
Copy constructor .
| virtual CbcUser::~CbcUser | ( | ) | [virtual] |
Destructor.
| virtual int CbcUser::importData | ( | CbcSolver * | model, | |
| int & | argc, | |||
| char * | argv[] | |||
| ) | [inline, virtual] |
Import - gets full command arguments Returns -1 - no action 0 - data read in without error 1 - errors.
Definition at line 221 of file CbcSolver.hpp.
| virtual void CbcUser::exportSolution | ( | CbcSolver * | model, | |
| int | mode, | |||
| const char * | message = NULL | |||
| ) | [inline, virtual] |
Export 1 OsiClpSolver, 2 CbcModel - add 10 if infeasible from odd situation.
Definition at line 223 of file CbcSolver.hpp.
| virtual void CbcUser::exportData | ( | CbcSolver * | model | ) | [inline, virtual] |
Export Data (i.e. at very end).
Definition at line 225 of file CbcSolver.hpp.
| virtual void CbcUser::fillInformation | ( | CbcSolver * | model, | |
| CbcSolverUsefulData & | info | |||
| ) | [inline, virtual] |
Get useful stuff.
Definition at line 227 of file CbcSolver.hpp.
| CoinModel* CbcUser::coinModel | ( | ) | const [inline] |
CoinModel if valid.
Definition at line 234 of file CbcSolver.hpp.
| virtual void* CbcUser::stuff | ( | ) | [inline, virtual] |
Other info - needs expanding.
Definition at line 237 of file CbcSolver.hpp.
| std::string CbcUser::name | ( | ) | const [inline] |
Name.
Definition at line 239 of file CbcSolver.hpp.
| virtual void CbcUser::solve | ( | CbcSolver * | model, | |
| const char * | options | |||
| ) | [pure virtual] |
Solve (whatever that means).
| virtual bool CbcUser::canDo | ( | const char * | options | ) | [pure virtual] |
Returns true if function knows about option.
| virtual CbcUser* CbcUser::clone | ( | ) | const [pure virtual] |
Clone.
CoinModel* CbcUser::coinModel_ [protected] |
Definition at line 270 of file CbcSolver.hpp.
std::string CbcUser::userName_ [protected] |
Name of user function.
Definition at line 273 of file CbcSolver.hpp.
1.6.1