Cgl 0.59.7

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Clp_ampl.h
Go to the documentation of this file.
1 /* $Id: Clp_ampl.h 1573 2011-01-05 01:12:36Z lou $ */
2 /*
3 Copyright (C) 2006, International Business Machines Corporation and others.
4 All Rights Reserved.
5
6 This code is licensed under the terms of the Eclipse Public License (EPL).
7 */
8
9 #ifndef AmplInterface_H
10 #define AmplInterface_H
11 typedef struct {
12 int numberRows;
13 int numberColumns;
14 int numberBinary;
15 int numberIntegers; /* non binary */
16 int numberSos;
17 int numberElements;
18 int numberArguments;
19 int problemStatus;
20 double direction;
21 double offset;
22 double objValue;
23 double * objective;
24 double * rowLower;
25 double * rowUpper;
26 double * columnLower;
27 double * columnUpper;
28 int * starts;
29 int * rows;
30 double * elements;
31 double * primalSolution;
32 double * dualSolution;
33 int * columnStatus;
34 int * rowStatus;
35 int * priorities;
36 int * branchDirection;
37 double * pseudoDown;
38 double * pseudoUp;
39 char * sosType;
40 int * sosPriority;
41 int * sosStart;
42 int * sosIndices;
43 double * sosReference;
44 int * cut;
45 int * special;
46 char ** arguments;
47 char buffer[300];
48 int logLevel;
49 int nonLinear;
50 } ampl_info;
51 #ifdef __cplusplus
52 extern "C" {
53 #endif
54 /* return nonzero if bad */
55 int readAmpl(ampl_info * info, int argc, char ** argv,
56 void ** coinModel);
57 /* frees some input arrays */
58 void freeArrays1(ampl_info * info);
59 /* frees rest */
60 void freeArrays2(ampl_info * info);
61 /* frees fake arguments */
62 void freeArgs(ampl_info * info);
63 /* writes ampl stuff */
64 void writeAmpl(ampl_info * info);
65 /* objective precision */
66 int ampl_obj_prec();
67 #ifdef __cplusplus
68 }
69 #endif
70 #endif
ampl_info::numberArguments
int numberArguments
Definition: Clp_ampl.h:18
ampl_info::pseudoUp
double * pseudoUp
Definition: Clp_ampl.h:38
freeArrays2
void freeArrays2(ampl_info *info)
ampl_info::sosType
char * sosType
Definition: Clp_ampl.h:39
ampl_info::columnLower
double * columnLower
Definition: Clp_ampl.h:26
ampl_info::columnStatus
int * columnStatus
Definition: Clp_ampl.h:33
ampl_info::numberSos
int numberSos
Definition: Clp_ampl.h:16
ampl_info::rowLower
double * rowLower
Definition: Clp_ampl.h:24
ampl_info::sosReference
double * sosReference
Definition: Clp_ampl.h:43
ampl_info::priorities
int * priorities
Definition: Clp_ampl.h:35
ampl_info::numberElements
int numberElements
Definition: Clp_ampl.h:17
ampl_info::sosPriority
int * sosPriority
Definition: Clp_ampl.h:40
ampl_info::rows
int * rows
Definition: Clp_ampl.h:29
ampl_info::numberRows
int numberRows
Definition: Clp_ampl.h:12
ampl_info::primalSolution
double * primalSolution
Definition: Clp_ampl.h:31
ampl_info
Definition: Clp_ampl.h:11
ampl_info::numberBinary
int numberBinary
Definition: Clp_ampl.h:14
ampl_info::offset
double offset
Definition: Clp_ampl.h:21
ampl_info::dualSolution
double * dualSolution
Definition: Clp_ampl.h:32
ampl_info::rowStatus
int * rowStatus
Definition: Clp_ampl.h:34
ampl_info::starts
int * starts
Definition: Clp_ampl.h:28
ampl_info::pseudoDown
double * pseudoDown
Definition: Clp_ampl.h:37
ampl_obj_prec
int ampl_obj_prec()
freeArgs
void freeArgs(ampl_info *info)
ampl_info::branchDirection
int * branchDirection
Definition: Clp_ampl.h:36
ampl_info::elements
double * elements
Definition: Clp_ampl.h:30
ampl_info::cut
int * cut
Definition: Clp_ampl.h:44
ampl_info::objValue
double objValue
Definition: Clp_ampl.h:22
ampl_info::direction
double direction
Definition: Clp_ampl.h:20
ampl_info::arguments
char ** arguments
Definition: Clp_ampl.h:46
ampl_info::sosIndices
int * sosIndices
Definition: Clp_ampl.h:42
ampl_info::numberIntegers
int numberIntegers
Definition: Clp_ampl.h:15
ampl_info::objective
double * objective
Definition: Clp_ampl.h:23
ampl_info::columnUpper
double * columnUpper
Definition: Clp_ampl.h:27
ampl_info::rowUpper
double * rowUpper
Definition: Clp_ampl.h:25
ampl_info::numberColumns
int numberColumns
Definition: Clp_ampl.h:13
readAmpl
int readAmpl(ampl_info *info, int argc, char **argv, void **coinModel)
writeAmpl
void writeAmpl(ampl_info *info)
ampl_info::special
int * special
Definition: Clp_ampl.h:45
ampl_info::problemStatus
int problemStatus
Definition: Clp_ampl.h:19
ampl_info::nonLinear
int nonLinear
Definition: Clp_ampl.h:49
freeArrays1
void freeArrays1(ampl_info *info)
ampl_info::sosStart
int * sosStart
Definition: Clp_ampl.h:41
ampl_info::logLevel
int logLevel
Definition: Clp_ampl.h:48