QPALM 1.2.4
Proximal Augmented Lagrangian method for Quadratic Programs
Loading...
Searching...
No Matches
validate.h
Go to the documentation of this file.
1/**
2 * @file validate.h
3 * @author Ben Hermans
4 * @brief Validation of the user provided settings and data.
5 * @details The assumptions on the settings can be found in the
6 * details of the QPALMSettings tab in data structures.
7 */
8#ifndef VALIDATE_H
9# define VALIDATE_H
10
11# ifdef __cplusplus
12extern "C" {
13# endif
14
15# include "types.h"
16
17/***********************************************************
18* Validation of data and settings * *
19***********************************************************/
20
21/**
22 * Validate problem data.
23 *
24 * Checks whether the upper bounds are always greater than or equal
25 * to the lower bounds. Dimension checking of the data matrices and
26 * vectors is assumed to be done by the wrappers and interfaces.
27 *
28 * @param data Data to be validated
29 * @return Exitflag to check
30 */
31c_int validate_data(const QPALMData *data);
32
33
34/**
35 * Validate problem settings.
36 *
37 * Checks the assumptions on all settings. The assumptions can be
38 * found in the details of the QPALMSettings tab in data structures.
39 *
40 * @param settings Settings to be validated
41 * @return Exitflag to check
42 */
44
45
46# ifdef __cplusplus
47}
48# endif
49
50#endif // ifndef AUXIL_H
ladel_int c_int
type for integer numbers
Definition global_opts.h:42
Data structure.
Definition types.h:109
Settings struct.
Definition types.h:124
Internal data structures used in QPALM.
c_int validate_data(const QPALMData *data)
Validate problem data.
Definition validate.c:18
c_int validate_settings(const QPALMSettings *settings)
Validate problem settings.
Definition validate.c:43