QPALM 1.2.5
Proximal Augmented Lagrangian method for Quadratic Programs
Loading...
Searching...
No Matches
Functions
validate.c File Reference

Detailed Description

Validation of the user provided settings and data.

Author
Ben Hermans

The assumptions on the settings can be found in the details of the QPALMSettings tab in data structures.

Definition in file validate.c.

#include <qpalm/validate.h>
#include <qpalm/lin_alg.h>
#include <qpalm/constants.h>
+ Include dependency graph for validate.c:

Go to the source code of this file.

Functions

c_int validate_data (const QPALMData *data)
 Validate problem data.
 
c_int validate_settings (const QPALMSettings *settings)
 Validate problem settings.
 

Function Documentation

◆ validate_data()

c_int validate_data ( const QPALMData data)

Validate problem data.

Checks whether the upper bounds are always greater than or equal to the lower bounds. Dimension checking of the data matrices and vectors is assumed to be done by the wrappers and interfaces.

Parameters
dataData to be validated
Returns
Exitflag to check

Definition at line 18 of file validate.c.

+ Here is the caller graph for this function:

◆ validate_settings()

c_int validate_settings ( const QPALMSettings settings)

Validate problem settings.

Checks the assumptions on all settings. The assumptions can be found in the details of the QPALMSettings tab in data structures.

Parameters
settingsSettings to be validated
Returns
Exitflag to check

Definition at line 43 of file validate.c.

+ Here is the caller graph for this function: