13 #ifndef BonminAmplInterface_H 14 #define BonminAmplInterface_H 33 std::string* nl_file_content = NULL);
61 int writeAmplSolFile_;
virtual void readAmplNlFile(char **&argv, Ipopt::SmartPtr< Bonmin::RegisteredOptions > roptions, Ipopt::SmartPtr< Ipopt::OptionsList > options, Ipopt::SmartPtr< Ipopt::Journalist > journalist, std::string *nl_file_content=NULL)
const Ipopt::SmartPtr< Ipopt::OptionsList > options() const
Retrieve OsiTMINLPApplication option list.
virtual void setAppDefaultOptions(Ipopt::SmartPtr< Ipopt::OptionsList > Options)
To set some application specific defaults.
(C) Copyright International Business Machines Corporation 2007
AmplInterface()
Default constructor.
Ipopt::SmartPtr< Bonmin::AmplTMINLP > amplTminlp_
TMINLP problem (the original problem usually an AmplTMINLP).
U * GetRawPtr(const SmartPtr< U > &smart_ptr)
void readNames()
Read variables and row names in .col and .row files.
This is class provides an Osi interface for a Mixed Integer Linear Program expressed as a TMINLP (so ...
const AmplTMINLP * amplModel() const
Fast access to AmplTMINLP.
virtual ~AmplInterface()
Destructor.
virtual OsiSolverInterface * clone(bool CopyData=true)
Clone.
Class for providing an Osi interface to Ipopt with an ampl nl file as input.