20 #ifndef IPO_DETAIL_PHASEIMODEL_HPP
21 #define IPO_DETAIL_PHASEIMODEL_HPP
24 #include"../../ipo_function/detail/PhaseIObjectiveFunctionAndDerivatives.hpp"
25 #include"../../ipo_function/detail/PhaseIFunctionAndDerivatives.hpp"
26 #include"../../ipo_function/detail/PhaseIBoundedVariableFunctionAndDerivatives.hpp"
27 #include"../Model.hpp"
Model used for finding an initial feasible solution in phase I of interior-pont optimisation.
bool findFeasibleSolution()
Find a feasible solution to the base Model by partial optimisation of the PhaseIModel and copy the re...
Model & model
The Model this is based on.
std::map< Variable, Variable > crossIndex
A map so we can look up Variable of this from Variable of model.
Model an interior-point optimisation problem.
virtual void setIndices()
Sets the values of objectiveIndices, constraintIndices and variableIndices from Model.
PhaseIModel(Model &model)
Constructor.
bool findEqualityConstraintFeasibleSolution()
Find a solution that satisfies equality constraints.
double getInitial_s(gsl::vector const &vector) const
Get an initial value for s from a vector of length one less than the number of variables of this mode...
This namespace holds all the interior-point optimisation classes.