QPALM
1.2.5
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 <qpalm/util.h>
#include <qpalm/lin_alg.h>
#include <qpalm/global_opts.h>
#include <qpalm/types.h>
#include <string.h>
#include <stdio.h>
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_header | ( | void | ) |
void print_iteration | ( | c_int | iter, |
QPALMWorkspace * | work | ||
) |
void print_final_message | ( | QPALMWorkspace * | work | ) |