QPALM main
Proximal Augmented Lagrangian method for Quadratic Programs
Loading...
Searching...
No Matches
newton.h
Go to the documentation of this file.
1/**
2 * @file newton.h
3 * @author Ben Hermans
4 * @brief Functions to calculate the semismooth Newton direction.
5 * @details The functions in this file concern the calculation of the semismooth Newton direction.
6 * Factorizing, updating the factorization and solving the linear system are performed by functions in
7 * solver_interface.c.
8 */
9
10#ifndef NEWTON_H
11#define NEWTON_H
12
13# ifdef __cplusplus
14extern "C" {
15# endif
16
17#include <qpalm/types.h>
18
19/**
20 * Sets work->d to the direction calculated by the semismooth Newton method
21 *
22 * @param work Workspace
23 * @param c Linear systems solver environment
24 */
26 solver_common *c);
27
28/**
29 * Computes the set of active constraints and stores it in work->solver->active_constraints.
30 *
31 * @param work Workspace
32 */
34
35/**
36 * Determines the entering and leaving constraints and stores them in work->solver->enter and work->solver->leave respectively.
37 *
38 * Entering constraints are constraints that are in the new but not in the previous set of active constraints.
39 * Leaving constraints are constraints that are in the previous but not in the new set of active constraints.
40 *
41 * @param work Workspace
42 */
44
45# ifdef __cplusplus
46}
47# endif
48
49#endif //ifndef NEWTON_H
void set_entering_leaving_constraints(QPALMWorkspace *work)
Determines the entering and leaving constraints and stores them in work->solver->enter and work->solv...
Definition newton.c:134
void set_active_constraints(QPALMWorkspace *work)
Computes the set of active constraints and stores it in work->solver->active_constraints.
Definition newton.c:122
void newton_set_direction(QPALMWorkspace *work, solver_common *c)
Sets work->d to the direction calculated by the semismooth Newton method.
Definition newton.c:17
QPALM Workspace.
Definition types.h:204
Internal data structures used in QPALM.
ladel_work solver_common
Definition types.h:25