source: branches/devel/Cbc/src/OMI_code/OMI.h @ 604

Last change on this file since 604 was 572, checked in by forrest, 13 years ago

for Bob Entriken

File size: 929 bytes
Line 
1/**
2  * @(#)OMI.h
3  * @author Robert Entriken<br>
4  * Copyright (C) 1999-2007 EPRI<br>
5  * All rights reserved.
6  * @version 07-03-07
7  * @since OMI_1.0
8  *
9  * Revisions:
10  *   06-02-20 bobe     added copyright
11  *   06-04-10 bobe     ANSI standard comments
12  *   07-03-07 bobe     updated Copyright
13  *
14  */
15#ifndef _FN_OMI_java
16#define _FN_OMI_java
17
18#include <JavaVM/jni.h>
19
20#ifndef F2C_INCLUDE
21#define F2C_INCLUDE
22  typedef long int integer;
23  typedef double   doublereal;
24  typedef long int ftnlen;
25#endif
26
27/* OMI Global Constants */
28#define OMI_MaxStrLen 256
29/*                    NULL */     /* copy & free   */
30#define OMI_COMMIT    JNI_COMMIT  /* copy w/o free */
31#define OMI_ABORT     JNI_ABORT   /* free w/o copy */
32
33/* OMI Callbacks */
34void omi_model_getobjective__(integer *mode, integer *n, doublereal *x,
35  doublereal *f, doublereal *g, integer* nstate, integer* nprob);
36
37#endif
Note: See TracBrowser for help on using the repository browser.