/home/coin/SVN-release/CoinAll-1.1.0/SYMPHONY/Applications/SPP+CUTS/include/spp_common.h

Go to the documentation of this file.
00001 /*===========================================================================*/
00002 /*                                                                           */
00003 /* This file is part of a demonstration application for use with the         */
00004 /* SYMPHONY Branch, Cut, and Price Library. This application is a solver for */
00005 /* the Set Partitioning Problem.                                             */
00006 /*                                                                           */
00007 /* (c) Copyright 2005-2008 Marta Eso and Ted Ralphs. All Rights Reserved.    */
00008 /*                                                                           */
00009 /* This application was originally developed by Marta Eso and was modified   */
00010 /* Ted Ralphs (tkralphs@lehigh.edu)                                          */
00011 /*                                                                           */
00012 /* This software is licensed under the Common Public License. Please see     */
00013 /* accompanying file for terms.                                              */
00014 /*                                                                           */
00015 /*===========================================================================*/
00016 
00017 #ifndef _SPP_COMMON_H_
00018 #define _SPP_COMMON_H_
00019 
00020 /* system include files */
00021 #include <stdio.h>
00022 
00023 /* SYMPHONY include files */
00024 #include "sym_proto.h"
00025 
00026 /* SPP include files */
00027 #include "spp_types.h"
00028 
00029 int *spp_lexsort PROTO((col_ordered *matrix));
00030 int spp_lexcompare PROTO((const void *i, const void *j));
00031 void spp_free_cmatrix PROTO((col_ordered *m));
00032 void spp_free_rmatrix PROTO((row_ordered *m));
00033 void spp_column_to_row PROTO((col_ordered *cm, row_ordered *rm, int *i_tmpm,
00034                               int **istar_tmpm));
00035 void spp_row_to_column PROTO((row_ordered *rm, col_ordered *cm, int *i_tmpn,
00036                               row_ind_type **rowindstar_tmpn));
00037 FILE *get_filehandler PROTO((int counter, char *filename, char *fname));
00038 
00039 void spp_reverse_char_string PROTO((int len, char *string));
00040 void spp_reverse_int_string PROTO((int len, int *string));
00041 void spp_reverse_double_string PROTO((int len, double *string));
00042 void spp_free_cmatrix PROTO((col_ordered *m));
00043 void spp_free_rmatrix PROTO((row_ordered *m));
00044 void spp_column_to_row PROTO((col_ordered *cm, row_ordered *rm, int *i_tmpm,
00045                               int **istar_tmpm));
00046 void spp_row_to_column PROTO((row_ordered *rm, col_ordered *cm, int *i_tmpn,
00047                               row_ind_type **rowindstar_tmpn));
00048 int spp_is_orthogonal PROTO((col_ordered *cmatrix, int col1, int col2));
00049 
00050 #endif

Generated on Sun Nov 14 14:06:41 2010 for Coin-All by  doxygen 1.4.7