QPALM
A proximal augmented Lagrangian method for QPs.
Functions
validate.c File Reference

Validation of the user provided settings and data. More...

#include "validate.h"
#include "lin_alg.h"
#include "constants.h"

Functions

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

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.

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

◆ 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