QPALM 1.1.4.post1
Proximal Augmented Lagrangian method for Quadratic Programs
Loading...
Searching...
No Matches
Functions
qpalm.h File Reference

Detailed Description

QPALM main solver API.

Author
Ben Hermans

This file contains the main functions that can be called by the user. The user can load the default settings, setup the workspace with data and settings, warm_start the primal and dual variables, run the solver, update the settings, bounds and linear part of the cost, and finally cleanup the workspace afterwards.

Definition in file qpalm.h.

#include "constants.h"
#include "global_opts.h"
#include "iteration.h"
#include "lin_alg.h"
#include "linesearch.h"
#include "newton.h"
#include "nonconvex.h"
#include "scaling.h"
#include "solver_interface.h"
#include "termination.h"
#include "types.h"
#include "util.h"
#include "validate.h"
+ Include dependency graph for qpalm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

QPALM_EXPORT void qpalm_set_default_settings (QPALMSettings *settings)
 Set default settings from constants.h file.
 
QPALM_EXPORT QPALMWorkspaceqpalm_setup (const QPALMData *data, const QPALMSettings *settings)
 Initialize QPALM solver allocating memory.
 
QPALM_EXPORT void qpalm_warm_start (QPALMWorkspace *work, const c_float *x_warm_start, const c_float *y_warm_start)
 Warm start workspace variables x, x_0, x_prev, Ax, Qx, y and sigma.
 
QPALM_EXPORT void qpalm_solve (QPALMWorkspace *work)
 Solve the quadratic program.
 
QPALM_EXPORT void qpalm_update_settings (QPALMWorkspace *work, const QPALMSettings *settings)
 Update the settings to the new settings.
 
QPALM_EXPORT void qpalm_update_bounds (QPALMWorkspace *work, const c_float *bmin, const c_float *bmax)
 Update the lower and upper bounds.
 
QPALM_EXPORT void qpalm_update_q (QPALMWorkspace *work, const c_float *q)
 Update the linear part of the cost.
 
QPALM_EXPORT void qpalm_update_Q_A (QPALMWorkspace *work, const c_float *Qx, const c_float *Ax)
 Update the matrix entries of Q and A.
 
QPALM_EXPORT void qpalm_cleanup (QPALMWorkspace *work)
 Cleanup the workspace by deallocating memory.