QPALM
1.1.3b2
Proximal Augmented Lagrangian method for Quadratic Programs
|
Utility functions.
This file contains some utility functions, to copy the settings, to update the solver status, to print information and to time the algorithm.
Definition in file util.h.
Go to the source code of this file.
Functions | |
QPALMSettings * | copy_settings (const QPALMSettings *settings) |
Copy settings creating a new settings structure. | |
void | c_strcpy (char dest[], const char source[]) |
Custom string copy to avoid string.h library. | |
void | update_status (QPALMInfo *info, c_int status_val) |
Update solver status (value and string). | |
void | print_header (void) |
Print the header with QPALM version number and fields. | |
void | print_iteration (c_int iter, QPALMWorkspace *work) |
Print information about the current iteration. | |
void | print_final_message (QPALMWorkspace *work) |
Print final message as a box with info. | |
void | qpalm_tic (QPALMTimer *t) |
Start timer. | |
c_float | qpalm_toc (QPALMTimer *t) |
Report time in seconds since last call to qpalm_tic. | |
void c_strcpy | ( | char | dest[], |
const char | source[] | ||
) |
QPALMSettings * copy_settings | ( | const QPALMSettings * | settings | ) |
void print_final_message | ( | QPALMWorkspace * | work | ) |
void print_header | ( | void | ) |
void print_iteration | ( | c_int | iter, |
QPALMWorkspace * | work | ||
) |
void qpalm_tic | ( | QPALMTimer * | t | ) |
Start timer.
t | Timer object |
c_float qpalm_toc | ( | QPALMTimer * | t | ) |
Report time in seconds since last call to qpalm_tic.
t | Timer object |