|
QPALM
1.1.4.post1
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.c.
#include "util.h"#include "lin_alg.h"#include "global_opts.h"#include "string.h"#include "types.h"#include <stdio.h>
Include dependency graph for util.c:Go to the source code of this file.
Functions | |
| void | c_strcpy (char dest[], const char source[]) |
| Custom string copy to avoid string.h library. | |
| QPALMSettings * | copy_settings (const QPALMSettings *settings) |
| Copy settings creating a new settings structure. | |
| 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 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 | ||
| ) |