1 |
/*****************************************************************************/ |
2 |
/* File: conopt.h */ |
3 |
/* Version 3.13d */ |
4 |
/* */ |
5 |
/* Copyright (C) 1995-2003 by ARKI Consulting & Development A/S */ |
6 |
/* All Rights Reserved. */ |
7 |
/* */ |
8 |
/* THIS MATERIAL IS CONSIDERED A TRADE SECRET. */ |
9 |
/* UNAUTHORIZED ACCESS, USE, REPRODUCTION OR DISTRIBUTION IS PROHIBITED. */ |
10 |
/* */ |
11 |
/* Last Modified December 16, 2003 */ |
12 |
/*****************************************************************************/ |
13 |
|
14 |
/* |
15 |
Permission has been obtained from Arne Drud, Fri Jul 6, 2007, to include |
16 |
this file in the ASCEND distribution. He is aware that ASCEND is an |
17 |
open source project license under the GNU General Public License. |
18 |
|
19 |
Note that this version of the file comes from CONOPT version 3.14. |
20 |
*/ |
21 |
|
22 |
#if defined(_WIN32) |
23 |
#define COI_CALL __stdcall |
24 |
#define FNAME_UCASE_NODECOR 1 |
25 |
#else |
26 |
#define COI_CALL |
27 |
#endif |
28 |
|
29 |
typedef int (COI_CALL *COI_READMATRIX) ( double* LOWER, double* CURR, double* UPPER, int* VSTA, int* TYPE, double* RHS, |
30 |
int* ESTA, int* COLSTA, int* ROWNO, double* VALUE, |
31 |
int* NLFLAG, int* N, int* M, int* NZ, double* USRMEM ); |
32 |
typedef int (COI_CALL *COI_FDEVAL ) ( double* X, double* G, double* JAC, int* ROWNO, int* JCNM, int* MODE, |
33 |
int* IGNERR, int* ERRCNT, int* NEWPT, int* N, int* NJ, double* USRMEM ); |
34 |
typedef int (COI_CALL *COI_STATUS ) ( int* MODSTA, int* SOLSTA, int* ITER, double* OBJVAL, double* USRMEM ); |
35 |
typedef int (COI_CALL *COI_SOLUTION ) ( double* XVAL, double* XMAR, int* XBAS, int* XSTA, |
36 |
double* YVAL, double* YMAR, int* YBAS, int* YSTA, |
37 |
int* N, int* M, double* USRMEM ); |
38 |
typedef int (COI_CALL *COI_MESSAGE ) ( int* SMSG, int* DMSG, int* NMSG, int* LLEN, |
39 |
double* USRMEM, char* MSGV, int MSGLEN ); |
40 |
typedef int (COI_CALL *COI_PROGRESS ) ( int* LEN_INT, int* INT, int* LEN_RL, double* RL, double* X, double* USRMEM ); |
41 |
typedef int (COI_CALL *COI_OPTFILE ) ( int* FNLEN, double* USRMEM, char* FN, int LENFN ); |
42 |
typedef int (COI_CALL *COI_OPTION ) ( int* NCALL, double* RVAL, int* IVAL, int* LVAL, |
43 |
double* USRMEM, char* NAME, int LENNAME ); |
44 |
typedef int (COI_CALL *COI_ERRMSG ) ( int* ROWNO, int* COLNO, int* POSNO, int* MSGLEN, |
45 |
double* USRMEM, char* MSG, int LENMSG ); |
46 |
typedef int (COI_CALL *COI_TRIORD ) ( int* CASE, int* ROWNO, int* COLNO, double* VALUE, double* RESID, |
47 |
int* INF, double* USRMEM ); |
48 |
typedef int (COI_CALL *COI_FDINTERVAL) ( double* XMIN, double* XMAX, double* GMIN, double* GMAX, |
49 |
double* JMIN, double* JAMX, int* ROWNO, int* JCNM, int* MODE, |
50 |
double* PINF, int* N, int* NJ, double* USRMEM ); |
51 |
typedef int (COI_CALL *COI_2DDIR ) ( double* X, double* DX, double* D2G, int* ROWNO, int* JCNM, int* NEWPT, |
52 |
int* NODRV, int* N, int* NJ, double* USRMEM ); |
53 |
typedef int (COI_CALL *COI_2DDIRLAG ) ( double* X, double* DX, double* U, double* D2G, int* NEWPT, |
54 |
int* NODRV, int* N, int* M, double* USRMEM ); |
55 |
typedef int (COI_CALL *COI_2DLAGR ) ( double* X, double* U, int* HSRW, int* HSCL, double* HSVL, int* NODRV, int* N, |
56 |
int* M, int* NHESS, int* MODE, double* USRMEM ); |
57 |
typedef int (COI_CALL *COI_SRFILE ) ( int* FNLEN, double* USRMEM, char* FN, int LENFN ); |
58 |
typedef int (COI_CALL *COI_DUALBND ) ( double* LBND, double* UBND, int* COLS, int* NBND, double* USRMEM ); |
59 |
|
60 |
|
61 |
#if defined(FNAME_LCASE_DECOR) /* fortran names: lower case, trailing _ */ |
62 |
# define COIDEF_Size coidef_size_ |
63 |
# define COIDEF_Ini coidef_ini_ |
64 |
# define COIDEF_NumVar coidef_numvar_ |
65 |
# define COIDEF_NumCon coidef_numcon_ |
66 |
# define COIDEF_NumNZ coidef_numnz_ |
67 |
# define COIDEF_NumNlNz coidef_numnlnz_ |
68 |
# define COIDEF_Base coidef_base_ |
69 |
# define COIDEF_OptDir coidef_optdir_ |
70 |
# define COIDEF_ObjCon coidef_objcon_ |
71 |
# define COIDEF_ObjVar coidef_objvar_ |
72 |
# define COIDEF_ItLim coidef_itlim_ |
73 |
# define COIDEF_ErrLim coidef_errlim_ |
74 |
# define COIDEF_IniStat coidef_inistat_ |
75 |
# define COIDEF_FVincLin coidef_fvinclin_ |
76 |
# define COIDEF_FVforAll coidef_fvforall_ |
77 |
# define COIDEF_DebugFV coidef_debugfv_ |
78 |
# define COIDEF_MaxSup coidef_maxsup_ |
79 |
# define COIDEF_Square coidef_square_ |
80 |
# define COIDEF_EmptyRow coidef_emptyrow_ |
81 |
# define COIDEF_EmptyCol coidef_emptycol_ |
82 |
# define COIDEF_Num2D coidef_num2d_ |
83 |
# define COIDEF_Debug2D coidef_debug2d_ |
84 |
# define COIDEF_DisCont coidef_discont_ |
85 |
# define COIDEF_StdOut coidef_stdout_ |
86 |
# define COIDEF_ClearM coidef_clearm_ |
87 |
# define COIDEF_2DPerturb coidef_2dperturb_ |
88 |
# define COIDEF_NDual coidef_ndual_ |
89 |
|
90 |
# define COIDEF_ResLim coidef_reslim_ |
91 |
# define COIDEF_WorkSpace coidef_workspace_ |
92 |
# define COIDEF_WorkFactor coidef_workfactor_ |
93 |
|
94 |
# define COIDEF_ReadMatrix coidef_readmatrix_ |
95 |
# define COIDEF_FDEval coidef_fdeval_ |
96 |
# define COIDEF_Status coidef_status_ |
97 |
# define COIDEF_Solution coidef_solution_ |
98 |
# define COIDEF_Message coidef_message_ |
99 |
# define COIDEF_ErrMsg coidef_errmsg_ |
100 |
# define COIDEF_Progress coidef_progress_ |
101 |
# define COIDEF_Optfile coidef_optfile_ |
102 |
# define COIDEF_Option coidef_option_ |
103 |
# define COIDEF_TriOrd coidef_triord_ |
104 |
# define COIDEF_FDInterval coidef_fdinterval_ |
105 |
# define COIDEF_2DDir coidef_2ddir_ |
106 |
# define COIDEF_2DDirLag coidef_2ddirlag_ |
107 |
# define COIDEF_2DLagr coidef_2dlagr_ |
108 |
# define COIDEF_SRFile coidef_srfile_ |
109 |
# define COIDEF_DualBnd coidef_dualbnd_ |
110 |
|
111 |
# define COIDEF_UsrMem coidef_usrmem_ |
112 |
# define COIDEF_WorkMem coidef_workmem_ |
113 |
|
114 |
# define COIGET_MaxUsed coiget_maxused_ |
115 |
# define COIGET_CurUsed coiget_curused_ |
116 |
|
117 |
# define COI_Solve coi_solve_ |
118 |
# define COI_MemEst coi_memest_ |
119 |
# define COI_Version coi_version_ |
120 |
|
121 |
# define COI_ADDRESSOF coi_addressof_ |
122 |
# define CALL_READMATRIX call_readmatrix_ |
123 |
# define CALL_FDEVAL call_fdeval_ |
124 |
# define CALL_STATUS call_status_ |
125 |
# define CALL_SOLUTION call_solution_ |
126 |
# define CALL_MESSAGE call_message_ |
127 |
# define CALL_PROGRESS call_progress_ |
128 |
# define CALL_OPTFILE call_optfile_ |
129 |
# define CALL_OPTION call_option_ |
130 |
# define CALL_ERRMSG call_errmsg_ |
131 |
# define CALL_TRIORD call_triord_ |
132 |
# define CALL_FDINTERVAL call_fdinterval_ |
133 |
# define CALL_2DDIR call_2ddir_ |
134 |
# define CALL_2DDIRLAG call_2ddirlag_ |
135 |
# define CALL_2DLAGR call_2dlagr_ |
136 |
# define CALL_SRFILE call_srfile_ |
137 |
# define CALL_DUALBND call_dualbnd_ |
138 |
# define COEAII coeaii_ |
139 |
# define COEAI coeai_ |
140 |
|
141 |
#elif defined(FNAME_LCASE_NODECOR) /* fortran names: lower case, no _ */ |
142 |
# define COIDEF_Size coidef_size |
143 |
# define COIDEF_Ini coidef_ini |
144 |
# define COIDEF_NumVar coidef_numvar |
145 |
# define COIDEF_NumCon coidef_numcon |
146 |
# define COIDEF_NumNZ coidef_numnz |
147 |
# define COIDEF_NumNlNz coidef_numnlnz |
148 |
# define COIDEF_Base coidef_base |
149 |
# define COIDEF_OptDir coidef_optdir |
150 |
# define COIDEF_ObjCon coidef_objcon |
151 |
# define COIDEF_ObjVar coidef_objvar |
152 |
# define COIDEF_ItLim coidef_itlim |
153 |
# define COIDEF_ErrLim coidef_errlim |
154 |
# define COIDEF_IniStat coidef_inistat |
155 |
# define COIDEF_FVincLin coidef_fvinclin |
156 |
# define COIDEF_FVforAll coidef_fvforall |
157 |
# define COIDEF_DebugFV coidef_debugfv |
158 |
# define COIDEF_MaxSup coidef_maxsup |
159 |
# define COIDEF_Square coidef_square |
160 |
# define COIDEF_EmptyRow coidef_emptyrow |
161 |
# define COIDEF_EmptyCol coidef_emptycol |
162 |
# define COIDEF_Num2D coidef_num2d |
163 |
# define COIDEF_Debug2D coidef_debug2d |
164 |
# define COIDEF_DisCont coidef_discont |
165 |
# define COIDEF_StdOut coidef_stdout |
166 |
# define COIDEF_ClearM coidef_clearm |
167 |
# define COIDEF_2DPerturb coidef_2dperturb |
168 |
# define COIDEF_NDual coidef_ndual |
169 |
|
170 |
# define COIDEF_ResLim coidef_reslim |
171 |
# define COIDEF_WorkSpace coidef_workspace |
172 |
# define COIDEF_WorkFactor coidef_workfactor |
173 |
|
174 |
# define COIDEF_ReadMatrix coidef_readmatrix |
175 |
# define COIDEF_FDEval coidef_fdeval |
176 |
# define COIDEF_Status coidef_status |
177 |
# define COIDEF_Solution coidef_solution |
178 |
# define COIDEF_Message coidef_message |
179 |
# define COIDEF_ErrMsg coidef_errmsg |
180 |
# define COIDEF_Progress coidef_progress |
181 |
# define COIDEF_Optfile coidef_optfile |
182 |
# define COIDEF_Option coidef_option |
183 |
# define COIDEF_TriOrd coidef_triord |
184 |
# define COIDEF_FDInterval coidef_fdinterval |
185 |
# define COIDEF_2DDir coidef_2ddir |
186 |
# define COIDEF_2DDirLag coidef_2ddirlag |
187 |
# define COIDEF_2DLagr coidef_2dlagr |
188 |
# define COIDEF_SRFile coidef_srfile |
189 |
# define COIDEF_DualBnd coidef_dualbnd |
190 |
|
191 |
# define COIDEF_UsrMem coidef_usrmem |
192 |
# define COIDEF_WorkMem coidef_workmem |
193 |
|
194 |
# define COIGET_MaxUsed coiget_maxused |
195 |
# define COIGET_CurUsed coiget_curused |
196 |
|
197 |
# define COI_Solve coi_solve |
198 |
# define COI_MemEst coi_memest |
199 |
# define COI_Version coi_version |
200 |
|
201 |
# define COI_ADDRESSOF coi_addressof |
202 |
# define CALL_READMATRIX call_readmatrix |
203 |
# define CALL_FDEVAL call_fdeval |
204 |
# define CALL_STATUS call_status |
205 |
# define CALL_SOLUTION call_solution |
206 |
# define CALL_MESSAGE call_message |
207 |
# define CALL_PROGRESS call_progress |
208 |
# define CALL_OPTFILE call_optfile |
209 |
# define CALL_OPTION call_option |
210 |
# define CALL_ERRMSG call_errmsg |
211 |
# define CALL_TRIORD call_triord |
212 |
# define CALL_FDINTERVAL call_fdinterval |
213 |
# define CALL_2DDIR call_2ddir |
214 |
# define CALL_2DDIRLAG call_2ddirlag |
215 |
# define CALL_2DLAGR call_2dlagr |
216 |
# define CALL_SRFILE call_srfile |
217 |
# define CALL_DUALBND call_dualbnd |
218 |
# define COEAII coeaii |
219 |
# define COEAI coeai |
220 |
|
221 |
#elif defined(FNAME_UCASE_DECOR) /* fortran names: upper case, trailing _ */ |
222 |
# define COIDEF_Size COIDEF_SIZE_ |
223 |
# define COIDEF_Ini COIDEF_INI_ |
224 |
# define COIDEF_NumVar COIDEF_NUMVAR_ |
225 |
# define COIDEF_NumCon COIDEF_NUMCON_ |
226 |
# define COIDEF_NumNZ COIDEF_NUMNZ_ |
227 |
# define COIDEF_NumNlNz COIDEF_NUMNLNZ_ |
228 |
# define COIDEF_Base COIDEF_BASE_ |
229 |
# define COIDEF_OptDir COIDEF_OPTDIR_ |
230 |
# define COIDEF_ObjCon COIDEF_OBJCON_ |
231 |
# define COIDEF_ObjVar COIDEF_OBJVAR_ |
232 |
# define COIDEF_ItLim COIDEF_ITLIM_ |
233 |
# define COIDEF_ErrLim COIDEF_ERRLIM_ |
234 |
# define COIDEF_IniStat COIDEF_INISTAT_ |
235 |
# define COIDEF_FVincLin COIDEF_FVINCLIN_ |
236 |
# define COIDEF_FVforAll COIDEF_FVFORALL_ |
237 |
# define COIDEF_DebugFV COIDEF_DEBUGFV_ |
238 |
# define COIDEF_MaxSup COIDEF_MAXSUP_ |
239 |
# define COIDEF_Square COIDEF_SQUARE_ |
240 |
# define COIDEF_EmptyRow COIDEF_EMPTYROW_ |
241 |
# define COIDEF_EmptyCol COIDEF_EMPTYCOL_ |
242 |
# define COIDEF_Num2D COIDEF_NUM2D_ |
243 |
# define COIDEF_Debug2D COIDEF_DEBUG2D_ |
244 |
# define COIDEF_DisCont COIDEF_DISCONT_ |
245 |
# define COIDEF_StdOut COIDEF_STDOUT_ |
246 |
# define COIDEF_ClearM COIDEF_CLEARM_ |
247 |
# define COIDEF_2DPerturb COIDEF_2DPERTURB_ |
248 |
# define COIDEF_NDual COIDEF_NDUAL_ |
249 |
|
250 |
# define COIDEF_ResLim COIDEF_RESLIM_ |
251 |
# define COIDEF_WorkSpace COIDEF_WORKSPACE_ |
252 |
# define COIDEF_WorkFactor COIDEF_WORKFACTOR_ |
253 |
|
254 |
# define COIDEF_ReadMatrix COIDEF_READMATRIX_ |
255 |
# define COIDEF_FDEval COIDEF_FDEVAL_ |
256 |
# define COIDEF_Status COIDEF_STATUS_ |
257 |
# define COIDEF_Solution COIDEF_SOLUTION_ |
258 |
# define COIDEF_Message COIDEF_MESSAGE_ |
259 |
# define COIDEF_ErrMsg COIDEF_ERRMSG_ |
260 |
# define COIDEF_Progress COIDEF_PROGRESS_ |
261 |
# define COIDEF_Optfile COIDEF_OPTFILE_ |
262 |
# define COIDEF_Option COIDEF_OPTION_ |
263 |
# define COIDEF_TriOrd COIDEF_TRIORD_ |
264 |
# define COIDEF_FDInterval COIDEF_FDINTERVAL_ |
265 |
# define COIDEF_2DDir COIDEF_2DDIR_ |
266 |
# define COIDEF_2DDirLag COIDEF_2DDIRLAG_ |
267 |
# define COIDEF_2DLagr COIDEF_2DLAGR_ |
268 |
# define COIDEF_SRFile COIDEF_SRFILE_ |
269 |
# define COIDEF_DualBnd COIDEF_DUALBND_ |
270 |
|
271 |
# define COIDEF_UsrMem COIDEF_USRMEM_ |
272 |
# define COIDEF_WorkMem COIDEF_WORKMEM_ |
273 |
|
274 |
# define COIGET_MaxUsed COIGET_MAXUSED_ |
275 |
# define COIGET_CurUsed COIGET_CURUSED_ |
276 |
|
277 |
# define COI_Solve COI_SOLVE_ |
278 |
# define COI_MemEst COI_MEMEST_ |
279 |
# define COI_Version COI_VERSION_ |
280 |
|
281 |
# define COI_ADDRESSOF COI_ADDRESSOF_ |
282 |
# define CALL_READMATRIX CALL_READMATRIX_ |
283 |
# define CALL_FDEVAL CALL_FDEVAL_ |
284 |
# define CALL_STATUS CALL_STATUS_ |
285 |
# define CALL_SOLUTION CALL_SOLUTION_ |
286 |
# define CALL_MESSAGE CALL_MESSAGE_ |
287 |
# define CALL_PROGRESS CALL_PROGRESS_ |
288 |
# define CALL_OPTFILE CALL_OPTFILE_ |
289 |
# define CALL_OPTION CALL_OPTION_ |
290 |
# define CALL_ERRMSG CALL_ERRMSG_ |
291 |
# define CALL_TRIORD CALL_TRIORD_ |
292 |
# define CALL_FDINTERVAL CALL_FDINTERVAL_ |
293 |
# define CALL_2DDIR CALL_2DDIR_ |
294 |
# define CALL_2DDIRLAG CALL_2DDIRLAG_ |
295 |
# define CALL_2DLAGR CALL_2DLAGR_ |
296 |
# define CALL_SRFILE CALL_SRFILE_ |
297 |
# define CALL_DUALBND CALL_DUALBND_ |
298 |
# define COEAII COEAII_ |
299 |
# define COEAI COEAI_ |
300 |
|
301 |
#elif defined(FNAME_UCASE_NODECOR) /* fortran names: upper case, no _ */ |
302 |
# define COIDEF_Size COIDEF_SIZE |
303 |
# define COIDEF_Ini COIDEF_INI |
304 |
# define COIDEF_NumVar COIDEF_NUMVAR |
305 |
# define COIDEF_NumCon COIDEF_NUMCON |
306 |
# define COIDEF_NumNZ COIDEF_NUMNZ |
307 |
# define COIDEF_NumNlNz COIDEF_NUMNLNZ |
308 |
# define COIDEF_Base COIDEF_BASE |
309 |
# define COIDEF_OptDir COIDEF_OPTDIR |
310 |
# define COIDEF_ObjCon COIDEF_OBJCON |
311 |
# define COIDEF_ObjVar COIDEF_OBJVAR |
312 |
# define COIDEF_ItLim COIDEF_ITLIM |
313 |
# define COIDEF_ErrLim COIDEF_ERRLIM |
314 |
# define COIDEF_IniStat COIDEF_INISTAT |
315 |
# define COIDEF_FVincLin COIDEF_FVINCLIN |
316 |
# define COIDEF_FVforAll COIDEF_FVFORALL |
317 |
# define COIDEF_DebugFV COIDEF_DEBUGFV |
318 |
# define COIDEF_MaxSup COIDEF_MAXSUP |
319 |
# define COIDEF_Square COIDEF_SQUARE |
320 |
# define COIDEF_EmptyRow COIDEF_EMPTYROW |
321 |
# define COIDEF_EmptyCol COIDEF_EMPTYCOL |
322 |
# define COIDEF_Num2D COIDEF_NUM2D |
323 |
# define COIDEF_Debug2D COIDEF_DEBUG2D |
324 |
# define COIDEF_DisCont COIDEF_DISCONT |
325 |
# define COIDEF_StdOut COIDEF_STDOUT |
326 |
# define COIDEF_ClearM COIDEF_CLEARM |
327 |
# define COIDEF_2DPerturb COIDEF_2DPERTURB |
328 |
# define COIDEF_NDual COIDEF_NDUAL |
329 |
|
330 |
# define COIDEF_ResLim COIDEF_RESLIM |
331 |
# define COIDEF_WorkSpace COIDEF_WORKSPACE |
332 |
# define COIDEF_WorkFactor COIDEF_WORKFACTOR |
333 |
|
334 |
# define COIDEF_ReadMatrix COIDEF_READMATRIX |
335 |
# define COIDEF_FDEval COIDEF_FDEVAL |
336 |
# define COIDEF_Status COIDEF_STATUS |
337 |
# define COIDEF_Solution COIDEF_SOLUTION |
338 |
# define COIDEF_Message COIDEF_MESSAGE |
339 |
# define COIDEF_ErrMsg COIDEF_ERRMSG |
340 |
# define COIDEF_Progress COIDEF_PROGRESS |
341 |
# define COIDEF_Optfile COIDEF_OPTFILE |
342 |
# define COIDEF_Option COIDEF_OPTION |
343 |
# define COIDEF_TriOrd COIDEF_TRIORD |
344 |
# define COIDEF_FDInterval COIDEF_FDINTERVAL |
345 |
# define COIDEF_2DDir COIDEF_2DDIR |
346 |
# define COIDEF_2DDirLag COIDEF_2DDIRLAG |
347 |
# define COIDEF_2DLagr COIDEF_2DLAGR |
348 |
# define COIDEF_SRFile COIDEF_SRFILE |
349 |
# define COIDEF_DualBnd COIDEF_DUALBND |
350 |
|
351 |
# define COIDEF_UsrMem COIDEF_USRMEM |
352 |
# define COIDEF_WorkMem COIDEF_WORKMEM |
353 |
|
354 |
# define COIGET_MaxUsed COIGET_MAXUSED |
355 |
# define COIGET_CurUsed COIGET_CURUSED |
356 |
|
357 |
# define COI_Solve COI_SOLVE |
358 |
# define COI_MemEst COI_MEMEST |
359 |
# define COI_Version COI_VERSION |
360 |
|
361 |
# define COI_ADDRESSOF COI_ADDRESSOF |
362 |
# define CALL_READMATRIX CALL_READMATRIX |
363 |
# define CALL_FDEVAL CALL_FDEVAL |
364 |
# define CALL_STATUS CALL_STATUS |
365 |
# define CALL_SOLUTION CALL_SOLUTION |
366 |
# define CALL_MESSAGE CALL_MESSAGE |
367 |
# define CALL_PROGRESS CALL_PROGRESS |
368 |
# define CALL_OPTFILE CALL_OPTFILE |
369 |
# define CALL_OPTION CALL_OPTION |
370 |
# define CALL_ERRMSG CALL_ERRMSG |
371 |
# define CALL_TRIORD CALL_TRIORD |
372 |
# define CALL_FDINTERVAL CALL_FDINTERVAL |
373 |
# define CALL_2DDIR CALL_2DDIR |
374 |
# define CALL_2DDIRLAG CALL_2DDIRLAG |
375 |
# define CALL_2DLAGR CALL_2DLAGR |
376 |
# define CALL_SRFILE CALL_SRFILE |
377 |
# define CALL_DUALBND CALL_DUALBND |
378 |
# define COEAII COEAII |
379 |
# define COEAI COEAI |
380 |
|
381 |
#else |
382 |
#error "No compile define for fortran naming convention" |
383 |
No_compile_define_for_fortran_naming_convention; |
384 |
#endif |
385 |
|
386 |
extern void COI_CALL COEAI( int* Lwork, double* Work, int* CntVect ); |
387 |
|
388 |
extern int COI_CALL COIDEF_Size ( ); |
389 |
extern int COI_CALL COIDEF_Ini ( int* ); |
390 |
extern int COI_CALL COIDEF_NumVar ( int*, int* ); |
391 |
extern int COI_CALL COIDEF_NumCon ( int*, int* ); |
392 |
extern int COI_CALL COIDEF_NumNZ ( int*, int* ); |
393 |
extern int COI_CALL COIDEF_NumNlNz ( int*, int* ); |
394 |
extern int COI_CALL COIDEF_Base ( int*, int* ); |
395 |
extern int COI_CALL COIDEF_OptDir ( int*, int* ); |
396 |
extern int COI_CALL COIDEF_ObjCon ( int*, int* ); |
397 |
extern int COI_CALL COIDEF_ObjVar ( int*, int* ); |
398 |
extern int COI_CALL COIDEF_ItLim ( int*, int* ); |
399 |
extern int COI_CALL COIDEF_ErrLim ( int*, int* ); |
400 |
extern int COI_CALL COIDEF_IniStat ( int*, int* ); |
401 |
extern int COI_CALL COIDEF_FVincLin ( int*, int* ); |
402 |
extern int COI_CALL COIDEF_FVforAll ( int*, int* ); |
403 |
extern int COI_CALL COIDEF_DebugFV ( int*, int* ); |
404 |
extern int COI_CALL COIDEF_MaxSup ( int*, int* ); |
405 |
extern int COI_CALL COIDEF_Square ( int*, int* ); |
406 |
extern int COI_CALL COIDEF_EmptyRow ( int*, int* ); |
407 |
extern int COI_CALL COIDEF_EmptyCol ( int*, int* ); |
408 |
extern int COI_CALL COIDEF_Num2D ( int*, int* ); |
409 |
extern int COI_CALL COIDEF_Debug2D ( int*, int* ); |
410 |
extern int COI_CALL COIDEF_DisCont ( int*, int* ); |
411 |
extern int COI_CALL COIDEF_StdOut ( int*, int* ); |
412 |
extern int COI_CALL COIDEF_ClearM ( int*, int* ); |
413 |
extern int COI_CALL COIDEF_2DPerturb ( int*, int* ); |
414 |
extern int COI_CALL COIDEF_NDual ( int*, int* ); |
415 |
|
416 |
extern int COI_CALL COIDEF_ResLim ( int*, double* ); |
417 |
extern int COI_CALL COIDEF_WorkSpace ( int*, double* ); |
418 |
extern int COI_CALL COIDEF_WorkFactor( int*, double* ); |
419 |
|
420 |
extern int COI_CALL COIDEF_ReadMatrix( int*, COI_READMATRIX ); |
421 |
extern int COI_CALL COIDEF_FDEval ( int*, COI_FDEVAL ); |
422 |
extern int COI_CALL COIDEF_Status ( int*, COI_STATUS ); |
423 |
extern int COI_CALL COIDEF_Solution ( int*, COI_SOLUTION ); |
424 |
extern int COI_CALL COIDEF_Message ( int*, COI_MESSAGE ); |
425 |
extern int COI_CALL COIDEF_ErrMsg ( int*, COI_ERRMSG ); |
426 |
extern int COI_CALL COIDEF_Progress ( int*, COI_PROGRESS ); |
427 |
extern int COI_CALL COIDEF_Optfile ( int*, COI_OPTFILE ); |
428 |
extern int COI_CALL COIDEF_Option ( int*, COI_OPTION ); |
429 |
extern int COI_CALL COIDEF_TriOrd ( int*, COI_TRIORD ); |
430 |
extern int COI_CALL COIDEF_FDInterval( int*, COI_FDINTERVAL ); |
431 |
extern int COI_CALL COIDEF_2DDir ( int*, COI_2DDIR ); |
432 |
extern int COI_CALL COIDEF_2DDirLag ( int*, COI_2DDIRLAG ); |
433 |
extern int COI_CALL COIDEF_2DLagr ( int*, COI_2DLAGR ); |
434 |
extern int COI_CALL COIDEF_SRFile ( int*, COI_SRFILE ); |
435 |
extern int COI_CALL COIDEF_DualBnd ( int*, COI_DUALBND ); |
436 |
|
437 |
extern int COI_CALL COIDEF_UsrMem ( int*, double* ); |
438 |
extern int COI_CALL COIDEF_WorkMem ( int*, double*, int* ); |
439 |
|
440 |
extern int COI_CALL COIGET_MaxUsed ( int* ); |
441 |
extern int COI_CALL COIGET_CurUsed ( int* ); |
442 |
|
443 |
extern int COI_CALL COI_Solve ( int* ); |
444 |
extern int COI_CALL COI_MemEst ( int*, double*, double* ); |
445 |
extern int COI_CALL COI_Version ( float*, char*, int ); |