| 1 |
/*===========================================================================*/ |
| 2 |
/* */ |
| 3 |
/* This file is part of a demonstration application for use with the */ |
| 4 |
/* SYMPHONY Branch, Cut, and Price Library. This application is a solver for */ |
| 5 |
/* the Set Partitioning Problem. */ |
| 6 |
/* */ |
| 7 |
/* (c) Copyright 2005-2013 Marta Eso and Ted Ralphs. All Rights Reserved. */ |
| 8 |
/* */ |
| 9 |
/* This application was originally developed by Marta Eso and was modified */ |
| 10 |
/* Ted Ralphs ([email protected]) */ |
| 11 |
/* */ |
| 12 |
/* This software is licensed under the Eclipse Public License. Please see */ |
| 13 |
/* accompanying file for terms. */ |
| 14 |
/* */ |
| 15 |
/*===========================================================================*/ |
| 16 |
|
| 17 |
#ifndef _SPP_LP_H_ |
| 18 |
#define _SPP_LP_H_ |
| 19 |
|
| 20 |
#include "sym_proto.h" |
| 21 |
#include "sym_types.h" |
| 22 |
#include "sym_dg_params.h" |
| 23 |
#include "sym_lp.h" |
| 24 |
|
| 25 |
#include "spp_types.h" |
| 26 |
#include "spp_lp_params.h" |
| 27 |
|
| 28 |
typedef struct SPP_LP_TMP { |
| 29 |
char *ctmp_2nD; /* length: 2*n*DSIZE */ |
| 30 |
double *dtmp_m; /* length rownum */ |
| 31 |
double *dtmp_n; |
| 32 |
int *itmp_m; |
| 33 |
int *itmp_2n; |
| 34 |
}spp_lp_tmp; |
| 35 |
|
| 36 |
|
| 37 |
typedef struct SPP_LP_PROBLEM { |
| 38 |
spp_lp_params *par; |
| 39 |
spp_lp_tmp *tmp; |
| 40 |
col_ordered *cmatrix; |
| 41 |
char wname[MAX_NAME_LENGTH +1]; |
| 42 |
/* name of window in which frac solns are dispd */ |
| 43 |
}spp_lp_problem; |
| 44 |
|
| 45 |
#endif |