Interface to a primal dual interior point solver.
More...
|
| PrimalDualSolver (const SDPType &sdp) |
| Construct a new solver instance from a given SDP instance. More...
|
|
| PrimalDualSolver (const SDPType &sdp, const arma::mat &initialX, const arma::vec &initialYSparse, const arma::vec &initialYDense, const arma::mat &initialZ) |
| Construct a new solver instance from a given SDP instance. More...
|
|
double & | DualInfeasTol () |
| Modify the dual infeasibility tolerance. More...
|
|
size_t & | MaxIterations () |
| Modify the maximum number of iterations to run before converging. More...
|
|
double & | NormXzTol () |
| Modify the XZ tolerance. More...
|
|
double | Optimize (arma::mat &X, arma::vec &ySparse, arma::vec &yDense, arma::mat &Z) |
| Invoke the optimization procedure, returning the converged values for the primal and dual variables. More...
|
|
double | Optimize (arma::mat &X) |
| Invoke the optimization procedure, and only return the primal variable. More...
|
|
double & | PrimalInfeasTol () |
| Modify the primal infeasibility tolerance. More...
|
|
const SDPType & | SDP () const |
| Return the underlying SDP instance. More...
|
|
double & | Tau () |
| Modify tau. Typical values are 0.99. More...
|
|
template<typename SDPType>
class mlpack::optimization::PrimalDualSolver< SDPType >
Interface to a primal dual interior point solver.
- Template Parameters
-
Definition at line 26 of file primal_dual.hpp.
Construct a new solver instance from a given SDP instance.
Uses a random, positive initialization point.
- Parameters
-
sdp | Initialized SDP to be solved. |
PrimalDualSolver |
( |
const SDPType & |
sdp, |
|
|
const arma::mat & |
initialX, |
|
|
const arma::vec & |
initialYSparse, |
|
|
const arma::vec & |
initialYDense, |
|
|
const arma::mat & |
initialZ |
|
) |
| |
Construct a new solver instance from a given SDP instance.
Uses a random, positive initialization point. Both initialX and initialZ need to be positive definite matrices.
- Parameters
-
sdp | Initialized SDP to be solved. |
initialX | |
initialYSparse | |
initialYDense | |
initialZ | |
double& DualInfeasTol |
( |
| ) |
|
|
inline |
Modify the dual infeasibility tolerance.
Definition at line 93 of file primal_dual.hpp.
size_t& MaxIterations |
( |
| ) |
|
|
inline |
Modify the maximum number of iterations to run before converging.
Definition at line 96 of file primal_dual.hpp.
double Optimize |
( |
arma::mat & |
X, |
|
|
arma::vec & |
ySparse, |
|
|
arma::vec & |
yDense, |
|
|
arma::mat & |
Z |
|
) |
| |
double Optimize |
( |
arma::mat & |
X | ) |
|
|
inline |
double& PrimalInfeasTol |
( |
| ) |
|
|
inline |
Modify the primal infeasibility tolerance.
Definition at line 90 of file primal_dual.hpp.
const SDPType& SDP |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: