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

#include <ex_problem.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.
virtual VectorXd GetValues () const override
 Returns the "values" of whatever this component represents.
virtual 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 54 of file ex_problem.h.


Constructor & Destructor Documentation

Definition at line 58 of file ex_problem.h.

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

Definition at line 59 of file ex_problem.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 83 of file ex_problem.h.

virtual 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 77 of file ex_problem.h.

virtual 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 NLP solvers.

Implements ifopt::Component.

Definition at line 69 of file ex_problem.h.


Member Data Documentation

double ifopt::ExVariables::x0_ [private]

Definition at line 92 of file ex_problem.h.

double ifopt::ExVariables::x1_ [private]

Definition at line 92 of file ex_problem.h.


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


ifopt_core
Author(s): Alexander W. Winkler
autogenerated on Sat Apr 21 2018 03:01:48