Cbc  2.10.10
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members
ClpQuadInterface Class Reference

This is to allow the user to replace initialSolve and resolve. More...

#include <ClpQuadInterface.hpp>

+ Inheritance diagram for ClpQuadInterface:
+ Collaboration diagram for ClpQuadInterface:

Public Member Functions

Solve methods
virtual void initialSolve ()
 Solve initial LP relaxation. More...
 
virtual void resolve ()
 Resolve an LP relaxation after problem modification. More...
 
Constructors and destructors
 ClpQuadInterface ()
 Default Constructor. More...
 
virtual OsiSolverInterface * clone (bool CopyData=true) const
 Clone. More...
 
 ClpQuadInterface (const ClpQuadInterface &)
 Copy constructor. More...
 
ClpQuadInterfaceoperator= (const ClpQuadInterface &rhs)
 Assignment operator. More...
 
virtual ~ClpQuadInterface ()
 Destructor. More...
 
Sets and Getss
void initialize ()
 Setup fake objective. More...
 
virtual double getObjValue () const
 Get objective function value (can't use default) More...
 

Private Attributes

Private member data
ClpObjective * quadraticObjective_
 True quadratic objective. More...
 

Detailed Description

This is to allow the user to replace initialSolve and resolve.

Definition at line 18 of file ClpQuadInterface.hpp.

Constructor & Destructor Documentation

◆ ClpQuadInterface() [1/2]

ClpQuadInterface::ClpQuadInterface ( )

Default Constructor.

◆ ClpQuadInterface() [2/2]

ClpQuadInterface::ClpQuadInterface ( const ClpQuadInterface )

Copy constructor.

◆ ~ClpQuadInterface()

virtual ClpQuadInterface::~ClpQuadInterface ( )
virtual

Destructor.

Member Function Documentation

◆ initialSolve()

virtual void ClpQuadInterface::initialSolve ( )
virtual

Solve initial LP relaxation.

◆ resolve()

virtual void ClpQuadInterface::resolve ( )
virtual

Resolve an LP relaxation after problem modification.

◆ clone()

virtual OsiSolverInterface* ClpQuadInterface::clone ( bool  CopyData = true) const
virtual

Clone.

◆ operator=()

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

Assignment operator.

◆ initialize()

void ClpQuadInterface::initialize ( )

Setup fake objective.

It could also read an ampl .nl file or somehow get nonlinear info

◆ getObjValue()

virtual double ClpQuadInterface::getObjValue ( ) const
virtual

Get objective function value (can't use default)

Member Data Documentation

◆ quadraticObjective_

ClpObjective* ClpQuadInterface::quadraticObjective_
private

True quadratic objective.

Definition at line 67 of file ClpQuadInterface.hpp.


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