QPALM 1.1.3
Proximal Augmented Lagrangian method for Quadratic Programs
Loading...
Searching...
No Matches
Functions
qpalm.c 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, run the solver, and cleanup the workspace afterwards.

Definition in file qpalm.c.

#include "qpalm.h"
#include "global_opts.h"
#include "constants.h"
#include "validate.h"
#include "lin_alg.h"
#include "util.h"
#include "scaling.h"
#include "linesearch.h"
#include "termination.h"
#include "solver_interface.h"
#include "newton.h"
#include "nonconvex.h"
#include "iteration.h"
#include "ladel.h"
+ Include dependency graph for qpalm.c:

Go to the source code of this file.

Functions

void qpalm_set_default_settings (QPALMSettings *settings)
 Set default settings from constants.h file.
 
QPALMWorkspaceqpalm_setup (const QPALMData *data, const QPALMSettings *settings)
 Initialize QPALM solver allocating memory.
 
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.
 
void qpalm_solve (QPALMWorkspace *work)
 Solve the quadratic program.
 
void qpalm_update_settings (QPALMWorkspace *work, const QPALMSettings *settings)
 Update the settings to the new settings.
 
void qpalm_update_bounds (QPALMWorkspace *work, const c_float *bmin, const c_float *bmax)
 Update the lower and upper bounds.
 
void qpalm_update_q (QPALMWorkspace *work, const c_float *q)
 Update the linear part of the cost.
 
void qpalm_update_Q_A (QPALMWorkspace *work, const c_float *Qx, const c_float *Ax)
 Update the matrix entries of Q and A.
 
void qpalm_cleanup (QPALMWorkspace *work)
 Cleanup the workspace by deallocating memory.