Debian Codegraph @

SYMPHONY/Applications/MISOCO/include/user.h

raw
1 /*===========================================================================*/
2 /* */
3 /* This file is part of the SYMPHONY Branch, Cut, and Price Library. */
4 /* */
5 /* SYMPHONY was jointly developed by Ted Ralphs ([email protected]) and */
6 /* Laci Ladanyi ([email protected]). */
7 /* */
8 /* (c) Copyright 2000-2013 Ted Ralphs. All Rights Reserved. */
9 /* */
10 /* This software is licensed under the Eclipse Public License. Please see */
11 /* accompanying file for terms. */
12 /* */
13 /*===========================================================================*/
14
15 #ifndef _USER_H
16 #define _USER_H
17
18 /*---------------------------------------------------------------------------*\
19 * Use this data structure to store the value of any run-time parameters.
20 \*---------------------------------------------------------------------------*/
21
22 typedef struct USER_PARAMETERS {
23 /* Name of file containing the instance data */
24 char infile[MAX_FILE_NAME_LENGTH + 1];
25 } user_parameters;
26
27 /*---------------------------------------------------------------------------*\
28 * Use this data structure to store the instance data after it is read in.
29 \*---------------------------------------------------------------------------*/
30
31 typedef struct USER_PROBLEM {
32 int colnum; /* Number of columns in base matrix */
33 int rownum; /* Number of rows in base matrix */
34 user_parameters par; /* Parameters */
35 // number of cones
36 int num_cones;
37 // type of cone 0 for LORENTZ cone and 1 for ROTATED LORENTZ cone
38 int * cone_type;
39 int * cone_size;
40 int ** cone_members;
41 char * is_int;
42 double * curr_solution;
43 } user_problem;
44
45 #endif