mlpack
master
|
LRSDP is the implementation of Monteiro and Burer's formulation of low-rank semidefinite programs (LR-SDP). More...
Public Member Functions | |
LRSDP (const size_t numSparseConstraints, const size_t numDenseConstraints, const arma::mat &initialPoint) | |
Create an LRSDP to be optimized. More... | |
LRSDP (const SDPType &sdp, const arma::mat &initialPoint) | |
Create an LRSDP object with the given SDP problem to be solved, and the given initial point. More... | |
const AugLagrangian< LRSDPFunction< SDPType > > & | AugLag () const |
Return the augmented Lagrangian object. More... | |
AugLagrangian< LRSDPFunction< SDPType > > & | AugLag () |
Modify the augmented Lagrangian object. More... | |
const LRSDPFunction< SDPType > & | Function () const |
Return the function to be optimized. More... | |
LRSDPFunction< SDPType > & | Function () |
Modify the function to be optimized. More... | |
double | Optimize (arma::mat &coordinates) |
Optimize the LRSDP and return the final objective value. More... | |
const SDPType & | SDP () const |
Return the SDP that will be solved. More... | |
SDPType & | SDP () |
Modify the SDP that will be solved. More... | |
Private Attributes | |
AugLagrangian< LRSDPFunction< SDPType > > | augLag |
The AugLagrangian object which will be used for optimization. More... | |
LRSDPFunction< SDPType > | function |
Function to optimize, which the AugLagrangian object holds. More... | |
LRSDP is the implementation of Monteiro and Burer's formulation of low-rank semidefinite programs (LR-SDP).
This solver uses the augmented Lagrangian optimizer to solve low-rank semidefinite programs.
mlpack::optimization::LRSDP< SDPType >::LRSDP | ( | const size_t | numSparseConstraints, |
const size_t | numDenseConstraints, | ||
const arma::mat & | initialPoint | ||
) |
Create an LRSDP to be optimized.
The solution will end up being a matrix of size (rows) x (rank). To construct each constraint and the objective function, use the function SDP() in order to access the SDPType object associated with this optimizer.
numConstraints | Number of constraints in the problem. |
initialPoint | Initial point of the optimization. |
mlpack::optimization::LRSDP< SDPType >::LRSDP | ( | const SDPType & | sdp, |
const arma::mat & | initialPoint | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
double mlpack::optimization::LRSDP< SDPType >::Optimize | ( | arma::mat & | coordinates | ) |
Optimize the LRSDP and return the final objective value.
The given coordinates will be modified to contain the final solution.
coordinates | Starting coordinates for the optimization. |
|
inline |
|
inline |
|
private |
The AugLagrangian object which will be used for optimization.
Definition at line 85 of file lrsdp.hpp.
Referenced by mlpack::optimization::LRSDP< optimization::SDP< arma::sp_mat > >::AugLag().
|
private |
Function to optimize, which the AugLagrangian object holds.