[mlpack-git] [mlpack] Implementation of primal-dual interior point SDP solver (#391)

Ryan Curtin notifications at github.com
Mon Jan 26 10:46:27 EST 2015


> @@ -57,110 +73,86 @@ class LRSDPFunction
>                            arma::mat& gradient) const;
>  
>    //! Get the number of sparse constraints in the LRSDP.
> -  size_t NumSparseConstraints() const { return sparseB.n_elem; }
> +  size_t NumSparseConstraints() const { return sdp.NumSparseConstraints(); }

Should we just provide an interface to the SDP itself with `SDP()` and then let the user get the constraints/etc. themselves?

---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/391/files#r23539017
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150126/3aea7636/attachment.html>


More information about the mlpack-git mailing list