#include <CouenneUserInterface.hpp>
Public Member Functions | |
CouenneUserInterface (Ipopt::SmartPtr< Ipopt::OptionsList > options_, Ipopt::SmartPtr< Ipopt::Journalist > jnlst_) | |
virtual | ~CouenneUserInterface () |
virtual bool | setupJournals () |
Setup journals for printing. More... | |
virtual CouenneProblem * | getCouenneProblem ()=0 |
Should return the problem to solve in algebraic form. More... | |
virtual Ipopt::SmartPtr < Bonmin::TMINLP > | getTMINLP ()=0 |
Should return the problem to solve as TMINLP. More... | |
virtual bool | addBabPlugins (Bonmin::Bab &bab) |
Called after B&B object is setup. More... | |
virtual bool | writeSolution (Bonmin::Bab &bab) |
Called after B&B finished. More... | |
Protected Attributes | |
Ipopt::SmartPtr < Ipopt::OptionsList > | options |
Ipopt::SmartPtr < Ipopt::Journalist > | jnlst |
Definition at line 32 of file CouenneUserInterface.hpp.
|
inline |
Definition at line 38 of file CouenneUserInterface.hpp.
|
inlinevirtual |
Definition at line 42 of file CouenneUserInterface.hpp.
|
inlinevirtual |
Setup journals for printing.
Default is to have one journal that prints to stdout.
Definition at line 47 of file CouenneUserInterface.hpp.
|
pure virtual |
Should return the problem to solve in algebraic form.
NOTE: Couenne is (currently) going to modify this problem!
Implemented in Couenne::CouenneOSInterface, and Couenne::CouenneAmplInterface.
|
pure virtual |
Should return the problem to solve as TMINLP.
Implemented in Couenne::CouenneOSInterface, and Couenne::CouenneAmplInterface.
|
inlinevirtual |
Called after B&B object is setup.
User should add plugins like cut generators, bound tighteners, or heuristics here.
Definition at line 65 of file CouenneUserInterface.hpp.
|
inlinevirtual |
Called after B&B finished.
Should write solution information.
Reimplemented in Couenne::CouenneOSInterface, and Couenne::CouenneAmplInterface.
Definition at line 79 of file CouenneUserInterface.hpp.
|
protected |
Definition at line 34 of file CouenneUserInterface.hpp.
|
protected |
Definition at line 35 of file CouenneUserInterface.hpp.