databricks / spark-tfocs

A Spark port of TFOCS: Templates for First-Order Conic Solvers (cvxr.com/tfocs)
Apache License 2.0
89 stars 37 forks source link

Do not require starting x0 and z0 in solver helpers. #22

Closed staple closed 9 years ago

staple commented 9 years ago

The SolverL1RLS and SolverSLP helpers require that an initial x iterate be provided and that an initial z (dual) iterate be provided in the case of SolverSLP. This patch adds support for default initial x and z iterates. The caller is no longer required to provide them.

staple commented 9 years ago

This patch is based on https://github.com/databricks/spark-tfocs/pull/21.

mengxr commented 9 years ago

LGTM