Ignore:
Timestamp:
Jan 6, 2019 2:43:06 PM (4 months ago)
Author:
unxusr
Message:

formatting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Clp/src/Clp_ampl.h

    r2280 r2385  
    1010#define AmplInterface_H
    1111typedef 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 #if COIN_BIG_INDEX==0
    29     int * starts;
     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#if COIN_BIG_INDEX == 0
     29  int *starts;
    3030#else
    31     long unsigned int * starts;
     31  long unsigned int *starts;
    3232#endif
    33     int * rows;
    34     double * elements;
    35     double * primalSolution;
    36     double * dualSolution;
    37     int * columnStatus;
    38     int * rowStatus;
    39     int * priorities;
    40     int * branchDirection;
    41     double * pseudoDown;
    42     double * pseudoUp;
    43     char * sosType;
    44     int * sosPriority;
    45     int * sosStart;
    46     int * sosIndices;
    47     double * sosReference;
    48     int * cut;
    49     int * special;
    50     char ** arguments;
    51     char buffer[300];
    52     int logLevel;
    53     int nonLinear;
     33  int *rows;
     34  double *elements;
     35  double *primalSolution;
     36  double *dualSolution;
     37  int *columnStatus;
     38  int *rowStatus;
     39  int *priorities;
     40  int *branchDirection;
     41  double *pseudoDown;
     42  double *pseudoUp;
     43  char *sosType;
     44  int *sosPriority;
     45  int *sosStart;
     46  int *sosIndices;
     47  double *sosReference;
     48  int *cut;
     49  int *special;
     50  char **arguments;
     51  char buffer[300];
     52  int logLevel;
     53  int nonLinear;
    5454} ampl_info;
    5555#ifdef __cplusplus
    5656extern "C" {
    5757#endif
    58     /* return nonzero if bad */
    59     int readAmpl(ampl_info * info, int argc, char ** argv,
    60     void ** coinModel);
    61     /* frees some input arrays */
    62     void freeArrays1(ampl_info * info);
    63     /* frees rest */
    64     void freeArrays2(ampl_info * info);
    65     /* frees fake arguments */
    66     void freeArgs(ampl_info * info);
    67     /* writes ampl stuff */
    68     void writeAmpl(ampl_info * info);
    69     /* objective precision */
    70     int ampl_obj_prec();
     58/* return nonzero if bad */
     59int readAmpl(ampl_info *info, int argc, char **argv,
     60  void **coinModel);
     61/* frees some input arrays */
     62void freeArrays1(ampl_info *info);
     63/* frees rest */
     64void freeArrays2(ampl_info *info);
     65/* frees fake arguments */
     66void freeArgs(ampl_info *info);
     67/* writes ampl stuff */
     68void writeAmpl(ampl_info *info);
     69/* objective precision */
     70int ampl_obj_prec();
    7171#ifdef __cplusplus
    7272}
    7373#endif
    7474#endif
     75
     76/* vi: softtabstop=2 shiftwidth=2 expandtab tabstop=2
     77*/
Note: See TracChangeset for help on using the changeset viewer.