#include <iomanip>
#include <fstream>
#include "CoinTime.hpp"
#include "BonAmplInterface.hpp"
#include "BonCbcParam.hpp"
#include "BonCbc.hpp"
#include "BonAmplTMINLP.hpp"
#include "AmplTNLP.hpp"
#include "FP.hpp"
#include "BonIpoptSolver.hpp"
Include dependency graph for FP.cpp:
Go to the source code of this file.
Classes | |
class | AmplFP |
class | FPInterface |
Functions | |
void | register_ALL_options (SmartPtr< RegisteredOptions > roptions) |
void | set_ipopt_minlp_default (SmartPtr< OptionsList > Option) |
int | iteratedFP (Bonmin::AmplInterface &nlpSolver, bool standAlone, double *&solution) |
Iterated feasibility pump. | |
int | enhancedOA (Bonmin::AmplInterface &nlpSolver, bool doFP, double *&solution) |
Enhanced OA code. | |
int | main (int argc, char *argv[]) |
void register_ALL_options | ( | SmartPtr< RegisteredOptions > | roptions | ) |
Referenced by FPInterface::readAmplNlFile2().
void set_ipopt_minlp_default | ( | SmartPtr< OptionsList > | Option | ) |
int iteratedFP | ( | Bonmin::AmplInterface & | nlpSolver, | |
bool | standAlone, | |||
double *& | solution | |||
) |
Iterated feasibility pump.
Definition at line 1204 of file OAFeasibilityPump.cpp.
References e, Bonmin::OsiTMINLPInterface::extractLinearRelaxation(), Bonmin::OsiTMINLPInterface::getColLower(), Bonmin::OsiTMINLPInterface::getColSolution(), Bonmin::OsiTMINLPInterface::getColUpper(), Bonmin::OsiTMINLPInterface::getFeasibilityOuterApproximation(), Bonmin::OsiTMINLPInterface::getNumCols(), Bonmin::OsiTMINLPInterface::getObjValue(), Bonmin::OsiTMINLPInterface::getOuterApproximation(), Bonmin::OsiTMINLPInterface::getStrParam(), Bonmin::OsiTMINLPInterface::initialSolve(), Bonmin::OsiTMINLPInterface::isInteger(), Bonmin::OsiTMINLPInterface::isProvenOptimal(), OptParam::maxTime_, params, Bonmin::OsiTMINLPInterface::setColLower(), Bonmin::OsiTMINLPInterface::setColUpper(), and Bonmin::OsiTMINLPInterface::turnOnSolverOutput().
Referenced by main().
int enhancedOA | ( | Bonmin::AmplInterface & | nlpSolver, | |
bool | doFP, | |||
double *& | solution | |||
) |
Enhanced OA code.
Definition at line 720 of file OAFeasibilityPump.cpp.
References BeginTimeGLOB, e, Bonmin::OsiTMINLPInterface::extractLinearRelaxation(), findGoodSolution(), FP(), Bonmin::OsiTMINLPInterface::getColLower(), Bonmin::OsiTMINLPInterface::getColSolution(), Bonmin::OsiTMINLPInterface::getColUpper(), Bonmin::OsiTMINLPInterface::getFeasibilityOuterApproximation(), Bonmin::OsiTMINLPInterface::getNumCols(), Bonmin::OsiTMINLPInterface::getObjValue(), Bonmin::OsiTMINLPInterface::getOuterApproximation(), Bonmin::OsiTMINLPInterface::getStrParam(), Bonmin::OsiTMINLPInterface::initialSolve(), Bonmin::OsiTMINLPInterface::isInteger(), Bonmin::OsiTMINLPInterface::isProvenOptimal(), OptParam::maxTime_, ResolutionInformation::mip_time, ResolutionInformation::n_iterations, ResolutionInformation::nlp_time, params, Bonmin::OsiTMINLPInterface::setColLower(), Bonmin::OsiTMINLPInterface::setColUpper(), ResolutionInformation::time, and Bonmin::OsiTMINLPInterface::turnOnSolverOutput().
Referenced by main().
int main | ( | int | argc, | |
char * | argv[] | |||
) |
Definition at line 179 of file FP.cpp.
References enhancedOA(), Bonmin::OsiTMINLPInterface::getStrParam(), iteratedFP(), OptParam::maxTime_, params, and Bonmin::TNLPSolver::UnsolvedError::printError().