CbcUser Class Reference

This allows the use of an unknown user stuff including modeling languages. More...

#include <CbcSolver.hpp>

Collaboration diagram for CbcUser:
Collaboration graph
[legend]

List of all members.

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



CoinModelcoinModel () 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 .
CbcUseroperator= (const CbcUser &rhs)
 Assignment operator.
virtual CbcUserclone () const =0
 Clone.
virtual ~CbcUser ()
 Destructor.

Protected Attributes

Private member data



CoinModelcoinModel_
 CoinModel.
std::string userName_
 Name of user function.

Detailed Description

This allows the use of an unknown user stuff including modeling languages.

Definition at line 211 of file CbcSolver.hpp.


Constructor & Destructor Documentation

CbcUser::CbcUser (  ) 

Default Constructor.

CbcUser::CbcUser ( const CbcUser rhs  ) 

Copy constructor .

virtual CbcUser::~CbcUser (  )  [virtual]

Destructor.


Member Function Documentation

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.

CbcUser& CbcUser::operator= ( const CbcUser rhs  ) 

Assignment operator.

virtual CbcUser* CbcUser::clone (  )  const [pure virtual]

Clone.


Member Data Documentation

CoinModel.

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.


The documentation for this class was generated from the following file:

Generated on 15 Mar 2015 for Coin-All by  doxygen 1.6.1