Documentation
Download
Licensing
Contact
CONOPT
Loading...
Searching...
No Matches
comdecl.h
Go to the documentation of this file.
1
/* Common declarations used for testing in combination with std.c */
2
FILE *
fs
;
/* File pointer to <progname>.sta file */
3
FILE *
fd
;
/* File pointer to <progname>.lst file */
4
int
stacalls
= 0;
/* Number of times Std_Status has been called */
5
int
solcalls
= 0;
/* Number of times Std_Solution has been called */
6
double
OBJ
;
/* Objective in last Std_Status */
7
int
mstat
= 0;
/* Value of MODSTA in last Std_Status */
8
int
sstat
= 0;
/* Value of SOLSTA in last Std_Status */
9
#define MAXLINE 133
/* maximum line length plus an extra character
10
for the null terminator */
11
char
pname
[
MAXLINE
];
/* Name of program */
12
char
fname
[
MAXLINE
];
/* Name of file - reused */
13
#define OK -9999
/* Argument for c_log to flag final OK call */
14
#define START -9998
/* Argument for c_log for initial setup call */
15
coiHandle_t
CntVect
= NULL;
/* Pointer to CONOPT Control Vector */
16
int
COI_Error
= 0;
/* Common CONOPT error counter */
stacalls
int stacalls
Definition
comdecl.h:4
pname
char pname[MAXLINE]
Definition
comdecl.h:10
fname
char fname[MAXLINE]
Definition
comdecl.h:11
CntVect
coiHandle_t CntVect
Definition
comdecl.h:14
MAXLINE
#define MAXLINE
Definition
comdecl.h:9
fd
FILE * fd
Definition
comdecl.h:3
solcalls
int solcalls
Definition
comdecl.h:5
OBJ
double OBJ
Definition
comdecl.h:6
mstat
int mstat
Definition
comdecl.h:7
sstat
int sstat
Definition
comdecl.h:8
COI_Error
int COI_Error
Definition
comdecl.h:15
fs
FILE * fs
Definition
comdecl.h:2
examples
common
comdecl.h
Generated by
1.13.2