|
Cbc 2.10.12
|
This is to allow the user to replace initialSolve and resolve. More...
#include <ClpQuadInterface.hpp>
Public Member Functions | |
Solve methods | |
| virtual void | initialSolve () |
| Solve initial LP relaxation. | |
| virtual void | resolve () |
| Resolve an LP relaxation after problem modification. | |
Constructors and destructors | |
| ClpQuadInterface () | |
| Default Constructor. | |
| virtual OsiSolverInterface * | clone (bool CopyData=true) const |
| Clone. | |
| ClpQuadInterface (const ClpQuadInterface &) | |
| Copy constructor. | |
| ClpQuadInterface & | operator= (const ClpQuadInterface &rhs) |
| Assignment operator. | |
| virtual | ~ClpQuadInterface () |
| Destructor. | |
Sets and Getss | |
| void | initialize () |
| Setup fake objective. | |
| virtual double | getObjValue () const |
| Get objective function value (can't use default). | |
Private Attributes | |
Private member data | |
| ClpObjective * | quadraticObjective_ |
| True quadratic objective. | |
This is to allow the user to replace initialSolve and resolve.
Definition at line 18 of file ClpQuadInterface.hpp.
| ClpQuadInterface::ClpQuadInterface | ( | ) |
Default Constructor.
| ClpQuadInterface::ClpQuadInterface | ( | const ClpQuadInterface & | ) |
Copy constructor.
|
virtual |
Destructor.
|
virtual |
Solve initial LP relaxation.
|
virtual |
Resolve an LP relaxation after problem modification.
|
virtual |
Clone.
| ClpQuadInterface & ClpQuadInterface::operator= | ( | const ClpQuadInterface & | rhs | ) |
Assignment operator.
| void ClpQuadInterface::initialize | ( | ) |
Setup fake objective.
It could also read an ampl .nl file or somehow get nonlinear info
|
virtual |
Get objective function value (can't use default).
|
private |
True quadratic objective.
Definition at line 67 of file ClpQuadInterface.hpp.