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