33 void initializeMatrix();
34 FactStatus numericFactorization();
36 int solve(
const Eigen::Ref<const Eigen::VectorXd>& permB,
OptimizationVector& searchDir,
bool is_initialization =
false);
37 void matrixTransposeTimesVector(
const Eigen::SparseMatrix<double>& A,
const Eigen::Ref<const Eigen::VectorXd>& eig_x, Eigen::Ref<Eigen::VectorXd> eig_y,
bool add =
true,
bool is_new =
true);
40 int perm(
int id) {
return perm_.indices()[id]; }
41 int invPerm(
int id) {
return invPerm_.indices()[id]; }
42 Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic>& perm() {
return perm_; }
43 Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic>& invPerm() {
return invPerm_; }
44 const Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic>& perm()
const {
return perm_; }
45 const Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic>& invPerm()
const {
return invPerm_; }
48 inline Cone& getCone() {
return *cone_; }
54 void findPermutation();
55 void resizeProblemData();
56 void symbolicFactorization();
65 double static_regularization_;
67 Eigen::VectorXd permX_, Pe_, permdX_;
68 Eigen::SparseMatrix<double> kkt_, permKkt_;
69 Eigen::PermutationMatrix<Eigen::Dynamic, Eigen::Dynamic> perm_, invPerm_, permK_;
ECOS - Embedded Conic Solver.
Class that provides storage space for the optimization matrices, vectors and variables.
Definition: Cone.hpp:380
Helper class to define an optimization vector, including primal and dual variables, and variables to render the optimization problem homogeneous.
Definition: Cone.hpp:322
Class that provides functionality for handling solution of linear systems in optimization problems...
Definition: LinSolver.hpp:26
Class that provides access to all environment variables required by the solver.
Definition: SolverSetting.hpp:43
Class to perform an LDL factorization of a matrix.
Definition: SparseCholesky.hpp:58
This class contains all information about the conic optimization problem, and provides functionality ...
Definition: Cone.hpp:87
Helper class to work with variables, which are members of a proper convex cone.
Definition: Cone.hpp:232
Helper class to work with optimization variables, lay down in an extended order.
Definition: Cone.hpp:280
ECOS - Embedded Conic Solver.