Dip
0.92.4
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
tmp
Dip-0.92.4
SYMPHONY
Applications
USER
include
user.h
Go to the documentation of this file.
1
/*===========================================================================*/
2
/* */
3
/* This file is part of the SYMPHONY Branch, Cut, and Price Library. */
4
/* */
5
/* SYMPHONY was jointly developed by Ted Ralphs (ted@lehigh.edu) and */
6
/* Laci Ladanyi (ladanyi@us.ibm.com). */
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 containingthe 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 rows in base matrix */
33
int
rownum
;
/* Number of columns in base matrix */
34
user_parameters
par
;
/* Parameters */
35
}
user_problem
;
36
37
#endif
user_problem
struct USER_PROBLEM user_problem
USER_PARAMETERS::infile
char infile[MAX_FILE_NAME_LENGTH+1]
Definition:
user.h:31
MAX_FILE_NAME_LENGTH
#define MAX_FILE_NAME_LENGTH
Definition:
sym_proto.h:18
USER_PROBLEM::rownum
int rownum
Definition:
user.h:33
USER_PROBLEM::par
user_parameters par
Definition:
user.h:40
user_parameters
struct USER_PARAMETERS user_parameters
USER_PROBLEM::colnum
int colnum
Definition:
user.h:32
USER_PARAMETERS
Definition:
user.h:29
USER_PROBLEM
Definition:
user.h:39
Generated by
1.8.5