Dip  0.92.4
spp_common.h
Go to the documentation of this file.
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 (ted@lehigh.edu) */
11 /* */
12 /* This software is licensed under the Eclipse Public License. Please see */
13 /* accompanying file for terms. */
14 /* */
15 /*===========================================================================*/
16 
17 #ifndef _SPP_COMMON_H_
18 #define _SPP_COMMON_H_
19 
20 #include <stdio.h>
21 
22 #include "sym_proto.h"
23 #include "spp_types.h"
24 
25 int *spp_lexsort PROTO((col_ordered *matrix));
26 int spp_lexcompare PROTO((const void *i, const void *j));
27 void spp_free_cmatrix PROTO((col_ordered *m));
28 void spp_free_rmatrix PROTO((row_ordered *m));
29 void spp_column_to_row PROTO((col_ordered *cm, row_ordered *rm, int *i_tmpm,
30  int **istar_tmpm));
31 void spp_row_to_column PROTO((row_ordered *rm, col_ordered *cm, int *i_tmpn,
32  row_ind_type **rowindstar_tmpn));
33 FILE *get_filehandler PROTO((int counter, char *filename, char *fname));
34 
35 #endif
#define PROTO(x)
Definition: sym_proto.h:27
#define row_ind_type
Definition: spp_types.h:20