NOMAD Source
Version 4.0.0 Beta
|
Go to the documentation of this file.
46 #ifndef __NOMAD400_PHASE_ONE__
47 #define __NOMAD400_PHASE_ONE__
49 #include "../../Eval/EvalPoint.hpp"
50 #include "../../Algos/Algorithm.hpp"
51 #include "../../Algos/AlgoStopReasons.hpp"
52 #include "../../Algos/Mads/Mads.hpp"
54 #include "../../nomad_nsbegin.hpp"
86 const std::shared_ptr<RunParameters>& runParams,
87 const std::shared_ptr<PbParameters>& refPbParams)
105 virtual bool runImp()
override;
106 virtual void endImp()
override;
129 #include "../../nomad_nsend.hpp"
131 #endif // __NOMAD400_PHASE_ONE__
virtual void readInformationForHotRestart() override
Helper for start() when doing a hot restart.
static BBOutputTypeList _bboutputtypes
Generic class for any direct search optimizer algorithm.
std::vector< BBOutputType > BBOutputTypeList
Definition for the list of blackbox output types.
PhaseOne(const Step *parentStep, std::shared_ptr< AlgoStopReasons< PhaseOneStopType >> stopReasons, const std::shared_ptr< RunParameters > &runParams, const std::shared_ptr< PbParameters > &refPbParams)
Constructor.
Base class of all types of steps (Iteration, Termination, Initialization, Poll, Mads,...
static void recomputeHPB(EvalPoint &evalPoint)
virtual void endImp() override
Default implementation of the end tasks of an algorithm.
virtual bool runImp() override
Each algorithm must implement its run tasks.
static void setBBOutputTypes(const BBOutputTypeList &bboutputtypes)
std::shared_ptr< Mads > _mads
Class for the representation of an evaluation point.
Template class for algorithm stop reasons.
Class for phase one search of MADS to satisfy Extreme Barrier (EB) constraints.
static void recomputeH(EvalPoint &evalPoint)
The class for the parameters defining the optimization problem.
virtual void startImp() override
void init()
Helper for constructor.
std::shared_ptr< AlgoStopReasons< MadsStopType > > _madsStopReasons