1 #ifndef OPTIMIZATION_NONLINEAR_PROGRAM_H 2 #define OPTIMIZATION_NONLINEAR_PROGRAM_H 5 #include <KrisLibrary/math/vector.h> 6 #include <KrisLibrary/math/matrix.h> 25 NonlinearProgram(
const std::shared_ptr<ScalarFieldFunction>& f,
const std::shared_ptr<VectorFieldFunction>& c=NULL,
const std::shared_ptr<VectorFieldFunction>& d=NULL);
26 void PreEval(
const Vector& x);
41 std::shared_ptr<ScalarFieldFunction> f;
42 std::shared_ptr<VectorFieldFunction> c;
43 std::shared_ptr<VectorFieldFunction> d;
Namespace for classes and functions in the Optimization package.
Definition: CSet.h:7
Abstract base classes for function interfaces.
bool SatisfiesEquality(VectorFieldFunction *C, const Vector &x, Real tol)
Returns true if C(x)<=tol, pointwise.
Definition: Newton.cpp:31
Contains all definitions in the Math package.
Definition: WorkspaceBound.h:12
bool SatisfiesInequality(VectorFieldFunction *C, const Vector &x, Real margin)
Returns true if C(x) >= margin.
Definition: Newton.cpp:39
bool inequalityLess
true if f is to be minimized, false if maximized
Definition: NonlinearProgram.h:45
A structure defining a nonlinear program.
Definition: NonlinearProgram.h:22