57 public constrainedOptimisationMethod
96 SQPBase(
const SQPBase&) =
delete;
99 void operator=(
const SQPBase&) =
delete;
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
scalarField lamdas_
Lagrange multipliers.
virtual bool addToFile(Ostream &os) const
Write continuation info.
scalar mu_
Penalty value for the merit function.
TypeName("SQPBase")
Runtime type information.
virtual bool writeMeritFunction(const updateMethod &UpdateMethod)
Write info about the merit function.
virtual ~SQPBase()=default
Destructor.
List< scalarField > constraintDerivativesOld_
The previous constraint derivatives.
autoPtr< OFstream > meritFunctionFile_
File including the l1 merit function.
scalar delta_
Safety factor.
virtual scalar meritFunctionConstraintPart() const =0
Get the part the merit function that depends on the constraints.
fileName objFunctionFolder_
Name of the objective folder.
scalarField LagrangianDerivatives_
Derivatives of the Lagrangian function.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A class for handling file names.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for optimisation methods.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.