qpmad
Eigen-based C++ QP solver.
include
qpmad
chosen_constraint.h
Go to the documentation of this file.
1
/**
2
@file
3
@author Alexander Sherikov
4
5
@copyright 2017 Alexander Sherikov. Licensed under the Apache License,
6
Version 2.0. (see LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
7
8
@brief
9
*/
10
11
#pragma once
12
13
14
namespace
qpmad
15
{
16
class
ChosenConstraint
17
{
18
public
:
19
double
violation_
;
20
double
dual_
;
21
MatrixIndex
index_
;
22
MatrixIndex
general_constraint_index_
;
23
bool
is_lower_
;
24
bool
is_simple_
;
25
26
public
:
27
void
reset
()
28
{
29
dual_
= 0.0;
30
violation_
= 0.0;
31
index_
= 0;
32
general_constraint_index_
= 0;
33
is_lower_
=
true
;
34
is_simple_
=
false
;
35
}
36
};
37
}
// namespace qpmad
qpmad::ChosenConstraint
Definition:
chosen_constraint.h:17
qpmad::ChosenConstraint::general_constraint_index_
MatrixIndex general_constraint_index_
Definition:
chosen_constraint.h:22
qpmad::ChosenConstraint::violation_
double violation_
Definition:
chosen_constraint.h:19
qpmad::ChosenConstraint::is_simple_
bool is_simple_
Definition:
chosen_constraint.h:24
qpmad::ChosenConstraint::index_
MatrixIndex index_
Definition:
chosen_constraint.h:21
qpmad::ChosenConstraint::reset
void reset()
Definition:
chosen_constraint.h:27
qpmad::ChosenConstraint::is_lower_
bool is_lower_
Definition:
chosen_constraint.h:23
qpmad::ChosenConstraint::dual_
double dual_
Definition:
chosen_constraint.h:20
qpmad
Definition:
active_set.h:15
qpmad::MatrixIndex
EIGEN_DEFAULT_DENSE_INDEX_TYPE MatrixIndex
Definition:
common.h:37
Generated by
1.9.1