|
| iPiano (const std::function< float(const Eigen::MatrixXf &)> f, const std::function< void(const Eigen::MatrixXf &, Eigen::MatrixXf &)> df, std::function< float(const Eigen::MatrixXf &)> g, const std::function< void(const Eigen::MatrixXf &, Eigen::MatrixXf &, float alpha)> prox_g, Options options, const std::function< void(const Iteration &)> callback=[](const Iteration &iteration) -> void{}) |
| Constructor. More...
|
|
| ~iPiano () |
| Destructor.
|
|
void | optimize (Eigen::MatrixXf &x_star, float &f_x_star) |
| Optimize the given objective using the iPiano algorithm. More...
|
|
| nmiPiano (const std::function< float(const Eigen::MatrixXf &)> f, const std::function< void(const Eigen::MatrixXf &, Eigen::MatrixXf &)> df, std::function< float(const Eigen::MatrixXf &)> g, const std::function< void(const Eigen::MatrixXf &, Eigen::MatrixXf &, float alpha)> prox_g, Options options, const std::function< void(const Iteration &)> callback=[](const Iteration &iteration) -> void{}) |
| Constructor. More...
|
|
| ~nmiPiano () |
| Destructor.
|
|
void | optimize (Eigen::MatrixXf &x_star, float &f_x_star) |
| Optimize the given objective using the nmiPiano algorithm. More...
|
|
|
static void | silent_callback (const Iteration &iteration) |
| Silent callback to use with iPiano. More...
|
|
static void | default_callback (const Iteration &iteration, int n=10) |
| Default callback to use with iPiano. More...
|
|
static void | brief_callback (const Iteration &iteration, int n=10) |
| Brief callback to use with iPiano. More...
|
|
static void | file_callback (const Iteration &iteration, const std::string &file) |
| File callback, used to write all information to the specified file. More...
|
|
static void | plot_callback (const Iteration &iteration, const std::string &file) |
| File callback for plotting, writes CSV output of format: iteration,f,g,alpha_n,beta_n,L_n,Delta_n. More...
|
|
static void | silent_callback (const Iteration &iteration) |
| Silent callback to use with nmiPiano. More...
|
|
static void | default_callback (const Iteration &iteration, int n=10) |
| Default callback to use with nmiPiano. More...
|
|
static void | brief_callback (const Iteration &iteration, int n=10) |
| Brief callback to use with nmiPiano. More...
|
|
static void | file_callback (const Iteration &iteration, const std::string &file) |
| File callback, used to write all information to the specified file. More...
|
|
static void | plot_callback (const Iteration &iteration, const std::string &file) |
| File callback for plotting, writes CSV output of format: iteration,f,g,alpha_n,L_n,Delta_n. More...
|
|
Implementation of iPiano (algorithm 5) as proposed in [1]: [1] P. Ochs, Y. Chen, T. Brox, T. Pock. iPiano: Inertial Proximal Algorithm for Nonconvex Optimization. SIAM J. Imaging Sciences, vol. 7, no. 2, 2014.
Implementation of iPiano as described in [1] and [2]:
[1] P. Ochs, Y. Chen, T. Brox, T. Pock. iPiano: Inertial Proximal Algorithm for Nonconvex Optimization SIAM Journal of Imaging Sciences, colume 7, number 2, 2014. [2] D. Stutz. Seminar paper "iPiano: Inertial Proximal Algorithm for Non-Convex Optimization" https://github.com/davidstutz/seminar-ipiano
The code is published under the BSD 3-Clause:
Copyright (c) 2016, David Stutz All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- Author
- David Stutz