Austin Schuh | 9049e20 | 2022-02-20 17:34:16 -0800 | [diff] [blame] | 1 | /* Solution polish based on assuming the active set */ |
| 2 | #ifndef POLISH_H |
| 3 | # define POLISH_H |
| 4 | |
| 5 | # ifdef __cplusplus |
| 6 | extern "C" { |
| 7 | # endif // ifdef __cplusplus |
| 8 | |
| 9 | |
| 10 | # include "types.h" |
| 11 | |
| 12 | /** |
| 13 | * Solution polish: Solve equality constrained QP with assumed active |
| 14 | *constraints |
| 15 | * @param work Workspace |
| 16 | * @return Exitflag |
| 17 | */ |
| 18 | c_int polish(OSQPWorkspace *work); |
| 19 | |
| 20 | |
| 21 | # ifdef __cplusplus |
| 22 | } |
| 23 | # endif // ifdef __cplusplus |
| 24 | |
| 25 | #endif // ifndef POLISH_H |