[mlpack-git] [mlpack] Implementation of primal-dual interior point SDP solver (#391)
Stephen Tu
notifications at github.com
Mon Jan 26 13:34:31 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(); }
I think that is better, but I didn't want to refactor existing code :smile:
I'll make the changes
---
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/391/files#r23552501
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20150126/de518e6d/attachment.html>
More information about the mlpack-git
mailing list