/
user.h
37 lines (31 loc) · 1.88 KB
/
user.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*===========================================================================*/
/* */
/* This file is part of the SYMPHONY Branch, Cut, and Price Library. */
/* */
/* SYMPHONY was jointly developed by Ted Ralphs (ted@lehigh.edu) and */
/* Laci Ladanyi (ladanyi@us.ibm.com). */
/* */
/* (c) Copyright 2000-2013 Ted Ralphs. All Rights Reserved. */
/* */
/* This software is licensed under the Eclipse Public License. Please see */
/* accompanying file for terms. */
/* */
/*===========================================================================*/
#ifndef _USER_H
#define _USER_H
/*---------------------------------------------------------------------------*\
* Use this data structure to store the value of any run-time parameters.
\*---------------------------------------------------------------------------*/
typedef struct USER_PARAMETERS{
/* Name of file containingthe instance data */
char infile[MAX_FILE_NAME_LENGTH + 1];
}user_parameters;
/*---------------------------------------------------------------------------*\
* Use this data structure to store the instance data after it is read in.
\*---------------------------------------------------------------------------*/
typedef struct USER_PROBLEM{
int colnum; /* Number of rows in base matrix */
int rownum; /* Number of columns in base matrix */
user_parameters par; /* Parameters */
}user_problem;
#endif