The source code and dockerfile for the GSW2024 AI Lab.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
/* misc.h */
/* Written by Andrew Makhorin <mao@gnu.org>, October 2015. */
#ifndef MISC_H
#define MISC_H
#include <glpk.h>
#define xprintf glp_printf
#define xerror glp_error
#define xassert glp_assert
#define xalloc glp_alloc
#define xfree glp_free
int str2int(const char *str, int *val); /* convert character string to value of int type */
int str2num(const char *str, double *val); /* convert character string to value of double type */
#endif
/* eof */
|