Bonmin::BonminAmplSetup Class Reference

#include <BonAmplSetup.hpp>

Inheritance diagram for Bonmin::BonminAmplSetup:

Inheritance graph
[legend]
Collaboration diagram for Bonmin::BonminAmplSetup:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void initialize (char **&argv)
 initialize bonmin with ampl model using the command line arguments.
void initialize (AmplInterface &toFill, char **&argv)
 initialize bonmin with ampl model using the command line arguments and an existing OsiTMINLPInterface.
void initialize (char **&argv, std::string &opt_file_content, std::string &nl_file_content, bool createContinuousSolver)
 initialize bonmin with ampl model using the command line arguments reading options and nl file from strings.
void initialize (AmplInterface &toFill, char **&argv, std::string &opt_file_content, std::string &nl_file_content, bool createContinuousSolver=true)
 initialize bonmin with ampl model using the command line arguments and an existing OsiTMINLPInterface reading options and nl file from strings.
void fillOsiInterface (AmplInterface &toFill, char **&argv, std::string &options, std::string &nl, bool createContinuousSolver=true)
 Usefull for Bcp.

Detailed Description

Definition at line 17 of file BonAmplSetup.hpp.


Member Function Documentation

void Bonmin::BonminAmplSetup::initialize ( char **&  argv  ) 

initialize bonmin with ampl model using the command line arguments.

Definition at line 14 of file BonAmplSetup.cpp.

References Bonmin::BonminSetup::initialize(), Bonmin::BabSetupBase::journalist(), Bonmin::BabSetupBase::mayPrintDoc(), Bonmin::BabSetupBase::nonlinearSolver(), Bonmin::BabSetupBase::options(), Bonmin::BabSetupBase::readOptionsFile(), and Bonmin::BabSetupBase::roptions().

Referenced by BM_tm::initialize_core(), interfaceTest(), main(), BM_lp::unpack_module_data(), and BM_tm::write_AMPL_solution().

void Bonmin::BonminAmplSetup::initialize ( AmplInterface toFill,
char **&  argv 
)

initialize bonmin with ampl model using the command line arguments and an existing OsiTMINLPInterface.

Definition at line 36 of file BonAmplSetup.cpp.

References Bonmin::BonminSetup::initialize(), Bonmin::OsiTMINLPInterface::initialize(), Bonmin::BabSetupBase::journalist(), Bonmin::BabSetupBase::journalist_, Bonmin::BabSetupBase::mayPrintDoc(), Bonmin::BabSetupBase::options(), Bonmin::BabSetupBase::options_, Bonmin::BabSetupBase::prefix(), Bonmin::BabSetupBase::readOptionsFile(), Bonmin::BabSetupBase::roptions(), Bonmin::BabSetupBase::roptions_, Bonmin::BabSetupBase::setOptionsAndJournalist(), and Bonmin::OsiTMINLPInterface::solver().

void Bonmin::BonminAmplSetup::initialize ( char **&  argv,
std::string &  opt_file_content,
std::string &  nl_file_content,
bool  createContinuousSolver 
)

initialize bonmin with ampl model using the command line arguments reading options and nl file from strings.

Definition at line 54 of file BonAmplSetup.cpp.

References Bonmin::BonminSetup::initialize(), Bonmin::BabSetupBase::journalist(), Bonmin::BabSetupBase::mayPrintDoc(), Bonmin::BabSetupBase::options(), Bonmin::BabSetupBase::readOptionsString(), and Bonmin::BabSetupBase::roptions().

void Bonmin::BonminAmplSetup::initialize ( AmplInterface toFill,
char **&  argv,
std::string &  opt_file_content,
std::string &  nl_file_content,
bool  createContinuousSolver = true 
)

initialize bonmin with ampl model using the command line arguments and an existing OsiTMINLPInterface reading options and nl file from strings.

Definition at line 68 of file BonAmplSetup.cpp.

References Bonmin::BonminSetup::initialize(), Bonmin::OsiTMINLPInterface::initialize(), Bonmin::BabSetupBase::journalist(), Bonmin::BabSetupBase::journalist_, Bonmin::BabSetupBase::mayPrintDoc(), Bonmin::BabSetupBase::options(), Bonmin::BabSetupBase::options_, Bonmin::BabSetupBase::prefix(), Bonmin::BabSetupBase::readOptionsString(), Bonmin::BabSetupBase::roptions(), and Bonmin::BabSetupBase::roptions_.

void Bonmin::BonminAmplSetup::fillOsiInterface ( AmplInterface toFill,
char **&  argv,
std::string &  options,
std::string &  nl,
bool  createContinuousSolver = true 
)

Usefull for Bcp.

Initialize the passed OsiTMINLP interface with ampl model using the options and nl files contained in two strings.

Definition at line 83 of file BonAmplSetup.cpp.

References Bonmin::OsiTMINLPInterface::initialize(), Bonmin::BabSetupBase::journalist(), Bonmin::BabSetupBase::journalist_, Bonmin::BabSetupBase::options_, Bonmin::BabSetupBase::prefix(), Bonmin::BabSetupBase::readOptionsString(), Bonmin::BabSetupBase::roptions(), and Bonmin::BabSetupBase::roptions_.


The documentation for this class was generated from the following files:
Generated on Thu Sep 22 03:14:30 2011 by  doxygen 1.4.7