qpmad
Eigen-based C++ QP solver.
Loading...
Searching...
No Matches
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
14namespace qpmad
15{
17 {
18 public:
19 double violation_;
20 double dual_;
25
26 public:
27 void reset()
28 {
29 dual_ = 0.0;
30 violation_ = 0.0;
31 index_ = 0;
33 is_lower_ = true;
34 is_simple_ = false;
35 }
36 };
37} // namespace qpmad
MatrixIndex general_constraint_index_
EIGEN_DEFAULT_DENSE_INDEX_TYPE MatrixIndex
Definition: common.h:33