Public Member Functions | Private Attributes
ifopt::ExVariables Class Reference

#include <test_vars_constr_cost.h>

Inheritance diagram for ifopt::ExVariables:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ExVariables ()
 ExVariables (const std::string &name)
VecBound GetBounds () const override
 Returns the "bounds" of this component.
VectorXd GetValues () const override
 Returns the "values" of whatever this component represents.
void SetVariables (const VectorXd &x) override
 Sets the optimization variables from an Eigen vector.

Private Attributes

double x0_
double x1_

Detailed Description

Definition at line 62 of file test_vars_constr_cost.h.


Constructor & Destructor Documentation

Definition at line 66 of file test_vars_constr_cost.h.

ifopt::ExVariables::ExVariables ( const std::string &  name) [inline]

Definition at line 67 of file test_vars_constr_cost.h.


Member Function Documentation

VecBound ifopt::ExVariables::GetBounds ( ) const [inline, override, virtual]

Returns the "bounds" of this component.

  • For Variable these are the upper and lower variable bound.
  • For Constraint this represents the constraint bounds.
  • For Cost these done't exists (set to infinity).

Implements ifopt::Component.

Definition at line 91 of file test_vars_constr_cost.h.

VectorXd ifopt::ExVariables::GetValues ( ) const [inline, override, virtual]

Returns the "values" of whatever this component represents.

  • For Variable this represents the actual optimization values.
  • For Constraint this represents the constraint value g.
  • For Cost this represents the cost value.

Implements ifopt::Component.

Definition at line 85 of file test_vars_constr_cost.h.

void ifopt::ExVariables::SetVariables ( const VectorXd &  x) [inline, override, virtual]

Sets the optimization variables from an Eigen vector.

This is only done for Variable, where these are set from the current values of the solvers.

Implements ifopt::Component.

Definition at line 77 of file test_vars_constr_cost.h.


Member Data Documentation

double ifopt::ExVariables::x0_ [private]

Definition at line 100 of file test_vars_constr_cost.h.

double ifopt::ExVariables::x1_ [private]

Definition at line 100 of file test_vars_constr_cost.h.


The documentation for this class was generated from the following file:


ifopt
Author(s): Alexander W. Winkler
autogenerated on Sat May 18 2019 02:43:08