#include <Solver.h>
Inheritance diagram for Solver:
Public Methods | |
virtual void | start (ProblemFormulation *formulation, Variables *iterate, Data *prob, Residuals *resid, Variables *step) |
virtual void | defaultStart (ProblemFormulation *formulation, Variables *iterate, Data *prob, Residuals *resid, Variables *step) |
virtual void | stevestart (ProblemFormulation *formulation, Variables *iterate, Data *prob, Residuals *resid, Variables *step) |
virtual void | dumbstart (ProblemFormulation *formulation, Variables *iterate, Data *prob, Residuals *resid, Variables *step) |
virtual int | solve (Data *prob, Variables *iterate, Residuals *resids)=0 |
virtual double | finalStepLength (Variables *iterate, Variables *step) |
virtual void | doMonitor (Data *data, Variables *vars, Residuals *resids, double alpha, double sigma, int i, double mu, int stop_code, int level) |
virtual void | defaultMonitor (Data *data, Variables *vars, Residuals *resids, double alpha, double sigma, int i, double mu, int stop_code, int level)=0 |
virtual int | doStatus (Data *data, Variables *vars, Residuals *resids, int i, double mu, int level) |
virtual int | defaultStatus (Data *data, Variables *vars, Residuals *resids, int i, double mu, int level) |
void | addMonitor (OoqpMonitor *) |
void | useStatus (Status *s) |
void | useStartStrategy (OoqpStartStrategy *s) |
void | monitorSelf () |
LinearSystem * | getLinearSystem () |
Public Attributes | |
int | iter |
Protected Attributes | |
double | dnorm |
double | mutol |
double | artol |
double | gamma_f |
double | gamma_a |
double | phi |
int | maxit |
double * | mu_history |
double * | rnorm_history |
double * | phi_history |
double * | phi_min_history |
|
method to add user-defined monitors to the monitor operations performed at each iteration |
|
default monitor: prints out one line of information on each interior-point iteration Implemented in GondzioSolver, and MehrotraSolver. |
|
default starting point heuristic |
|
default method for checking status. May be replaced by a user-defined method |
|
perform monitor operation at each interior-point iteration |
|
this method called to test for convergence status at the end of each interior-point iteration |
|
alternative starting point heuristic: sets the "complementary" variables to a large positive value (based on the norm of the problem data) and the remaining variables to zero |
|
Mehrotra's heuristic to calculate the final step length |
|
returns a pointed to the linear system object stored in this class |
|
enables defaultMonitor as one of the monitors |
|
implements the interior-point method for solving the QP Implemented in GondzioSolver, and MehrotraSolver. |
|
starting point heuristic |
|
alternative starting point heuristic |
|
method to replace the defaultStatus method with a user-defined status checking method |
|
method to replace the defaultStatus method with a user-defined status checking method |
|
termination parameters |
|
norm of problem data |
|
parameters associated with the step length heuristic |
|
parameters associated with the step length heuristic |
|
iteration counter |
|
maximum number of iterations allowed |
|
history of values of mu obtained on all iterations to date |
|
termination parameters |
|
merit function, defined as the sum of the complementarity gap the residual norms, divided by (1+norm of problem data) |
|
history of values of phi obtained on all iterations to date |
|
the i-th entry of this array contains the minimum value of phi encountered by the algorithm on or before iteration i |
|
history of values of residual norm obtained on all iterations to date |