Reaktoro
A unified framework for modeling chemically reactive systems
OptimumState.hpp
1 // Reaktoro is a unified framework for modeling chemically reactive systems.
2 //
3 // Copyright (C) 2014-2018 Allan Leal
4 //
5 // This library is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU Lesser General Public
7 // License as published by the Free Software Foundation; either
8 // version 2.1 of the License, or (at your option) any later version.
9 //
10 // This library is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 // Lesser General Public License for more details.
14 //
15 // You should have received a copy of the GNU Lesser General Public License
16 // along with this library. If not, see <http://www.gnu.org/licenses/>.
17 
18 #pragma once
19 
20 // Reaktoro includes
21 #include <Reaktoro/Math/Matrix.hpp>
22 #include <Reaktoro/Optimization/Hessian.hpp>
23 #include <Reaktoro/Optimization/OptimumProblem.hpp>
24 
25 namespace Reaktoro {
26 
29 {
31  Vector x;
32 
34  Vector y;
35 
37  Vector z;
38 
40  Vector w;
41 
44 };
45 
46 } // namespace Reaktoro
A type that describes the result of the evaluation of an objective function.
Definition: OptimumProblem.hpp:31
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
Vector z
The dual solution of the optimisation problem with respect to the lower bound constraints.
Definition: OptimumState.hpp:37
ObjectiveResult f
The evaluation of the objective function at x
Definition: OptimumState.hpp:43
Vector w
The dual solution of the optimisation problem with respect to the upper bound constraints.
Definition: OptimumState.hpp:40
A type that describes the state of an optimum solution.
Definition: OptimumState.hpp:29
Vector x
The primal solution of the optimisation problem.
Definition: OptimumState.hpp:31
Vector y
The dual solution of the optimisation problem with respect to the equality constraints.
Definition: OptimumState.hpp:34