/home/coin/SVN-release/CoinAll-1.1.0/SYMPHONY/include/sym_cg_u.h

Go to the documentation of this file.
00001 /*===========================================================================*/
00002 /*                                                                           */
00003 /* This file is part of the SYMPHONY MILP Solver Framework.                  */
00004 /*                                                                           */
00005 /* SYMPHONY was jointly developed by Ted Ralphs (tkralphs@lehigh.edu) and    */
00006 /* Laci Ladanyi (ladanyi@us.ibm.com).                                        */
00007 /*                                                                           */
00008 /* (c) Copyright 2000-2008 Ted Ralphs. All Rights Reserved.                  */
00009 /*                                                                           */
00010 /* This software is licensed under the Common Public License. Please see     */
00011 /* accompanying file for terms.                                              */
00012 /*                                                                           */
00013 /*===========================================================================*/
00014 
00015 #ifndef _CG_U_H
00016 #define _CG_U_H
00017 
00018 #include "sym_types.h"
00019 
00020 int cg_add_explicit_cut PROTO((int nzcnt, int *indices, double *values,
00021                                double rhs, double range, char sense,
00022                                char send_to_cp, int *num_cuts, int *alloc_cuts,
00023                                cut_data ***cuts));
00024 int cg_add_user_cut PROTO((cut_data *new_cut, int *num_cuts, int *alloc_cuts, 
00025                            cut_data ***cuts));
00026 int cg_send_cut PROTO((cut_data *new_cut, int *num_cuts, int *alloc_cuts,
00027                        cut_data ***cuts));
00028 
00029 /*===========================================================================*/
00030 /*======================= User supplied functions ===========================*/
00031 /*===========================================================================*/
00032 
00033 int user_receive_cg_data PROTO((void **user, int dg_id));
00034 int user_free_cg PROTO((void **user));
00035 int user_find_cuts PROTO((void *user, int varnum, int iter_num, int level,
00036                           int index, double objval, int *indices,
00037                           double *values, double ub, double lpetol,
00038                           int *num_cuts, int *alloc_cuts, cut_data ***cuts));
00039 int user_receive_lp_solution_cg PROTO((void *user));
00040 #ifdef CHECK_CUT_VALIDITY
00041 int user_check_validity_of_cut PROTO((void *user, cut_data *new_cut));
00042 #endif
00043 
00044 #endif

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