Osi  0.108.8
Public Member Functions | Protected Attributes | List of all members
OsiAuxInfo Class Reference

This class allows for a more structured use of algorithmic tweaking to an OsiSolverInterface. More...

#include <OsiAuxInfo.hpp>

+ Inheritance diagram for OsiAuxInfo:

Public Member Functions

 OsiAuxInfo (void *appData=NULL)
 
 OsiAuxInfo (const OsiAuxInfo &rhs)
 
virtual ~OsiAuxInfo ()
 
virtual OsiAuxInfoclone () const
 Clone. More...
 
OsiAuxInfooperator= (const OsiAuxInfo &rhs)
 Assignment operator. More...
 
void * getApplicationData () const
 Get application data. More...
 

Protected Attributes

void * appData_
 Pointer to user-defined data structure. More...
 

Detailed Description

This class allows for a more structured use of algorithmic tweaking to an OsiSolverInterface.

It is designed to replace the simple use of appData_ pointer.

This has been done to make it easier to use NonLinear solvers and other exotic beasts in a branch and bound mode. After this class definition there is one for a derived class for just such a purpose.

Definition at line 21 of file OsiAuxInfo.hpp.

Constructor & Destructor Documentation

◆ OsiAuxInfo() [1/2]

OsiAuxInfo::OsiAuxInfo ( void *  appData = NULL)

◆ OsiAuxInfo() [2/2]

OsiAuxInfo::OsiAuxInfo ( const OsiAuxInfo rhs)

◆ ~OsiAuxInfo()

virtual OsiAuxInfo::~OsiAuxInfo ( )
virtual

Member Function Documentation

◆ clone()

virtual OsiAuxInfo* OsiAuxInfo::clone ( ) const
virtual

Clone.

Reimplemented in OsiBabSolver.

◆ operator=()

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

Assignment operator.

◆ getApplicationData()

void* OsiAuxInfo::getApplicationData ( ) const
inline

Get application data.

Definition at line 37 of file OsiAuxInfo.hpp.

Member Data Documentation

◆ appData_

void* OsiAuxInfo::appData_
protected

Pointer to user-defined data structure.

Definition at line 44 of file OsiAuxInfo.hpp.


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