qpmad
Eigen-based C++ QP solver.
Protected Member Functions | Protected Attributes | List of all members
qpmad::InputParser Class Reference

Detailed Description

Definition at line 15 of file input_parser.h.

#include <input_parser.h>

Inheritance diagram for qpmad::InputParser:
qpmad::SolverTemplate< t_Scalar, t_primal_size, t_has_bounds, t_general_ctr_number >

Protected Member Functions

 InputParser ()
 
template<class t_MatrixType , class t_VectorType >
void parseObjective (const t_MatrixType &H, const t_VectorType &h)
 
template<class t_VectorTypelb , class t_VectorTypeub >
void parseSimpleBounds (const t_VectorTypelb &lb, const t_VectorTypeub &ub)
 
template<class t_MatrixTypeA , class t_VectorTypelb , class t_VectorTypeub >
void parseGeneralConstraints (const t_MatrixTypeA &A, const t_VectorTypelb &lb, const t_VectorTypeub &ub)
 

Protected Attributes

MatrixIndex primal_size_
 
MatrixIndex h_size_
 
MatrixIndex num_simple_bounds_
 
MatrixIndex num_general_constraints_
 

Constructor & Destructor Documentation

◆ InputParser()

qpmad::InputParser::InputParser ( )
inlineprotected

Definition at line 25 of file input_parser.h.

Member Function Documentation

◆ parseGeneralConstraints()

template<class t_MatrixTypeA , class t_VectorTypelb , class t_VectorTypeub >
void qpmad::InputParser::parseGeneralConstraints ( const t_MatrixTypeA &  A,
const t_VectorTypelb &  lb,
const t_VectorTypeub &  ub 
)
inlineprotected

Definition at line 68 of file input_parser.h.

◆ parseObjective()

template<class t_MatrixType , class t_VectorType >
void qpmad::InputParser::parseObjective ( const t_MatrixType &  H,
const t_VectorType &  h 
)
inlineprotected

Definition at line 35 of file input_parser.h.

◆ parseSimpleBounds()

template<class t_VectorTypelb , class t_VectorTypeub >
void qpmad::InputParser::parseSimpleBounds ( const t_VectorTypelb &  lb,
const t_VectorTypeub &  ub 
)
inlineprotected

Definition at line 48 of file input_parser.h.

Member Data Documentation

◆ h_size_

MatrixIndex qpmad::InputParser::h_size_
protected

Definition at line 19 of file input_parser.h.

◆ num_general_constraints_

MatrixIndex qpmad::InputParser::num_general_constraints_
protected

Definition at line 21 of file input_parser.h.

◆ num_simple_bounds_

MatrixIndex qpmad::InputParser::num_simple_bounds_
protected

Definition at line 20 of file input_parser.h.

◆ primal_size_

MatrixIndex qpmad::InputParser::primal_size_
protected

Definition at line 18 of file input_parser.h.


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