76 void operator=(
const SQP&) =
delete;
79 virtual void updateHessian();
82 virtual void update();
85 void storeOldFields();
88 virtual scalar meritFunctionConstraintPart()
const;
111 virtual ~SQP() =
default;
label nConstraints() const
Get the number of constraints.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("SQP")
Runtime type information.
virtual ~SQP()=default
Destructor.
scalar dumpingThreshold_
Curvature threshold.
void computeCorrection()
Compute design variables correction.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Base class for quasi-Newton methods.
A class for handling words, derived from Foam::string.
The quasi-Newton SQP formula for constrained optimisation.
virtual bool writeAuxiliaryData()
Write merit function information.
Base class for Sequantial Quadratic Programming (SQP) methods.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
Mesh data needed to do the Finite Volume discretisation.
virtual scalar meritFunctionDirectionalDerivative()
Derivative of the merit function. Could be different than the objective derivative in the presence of...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual scalar computeMeritFunction()
Compute merit function. Could be different than the objective in the presence of constraints.
virtual bool writeData(Ostream &os) const
Write useful quantities to files.