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 _CP_U_H 00016 #define _CP_U_H 00017 00018 #include "sym_proto.h" 00019 #include "sym_types.h" 00020 00021 /*===========================================================================*/ 00022 /*====================== User supplied functions ============================*/ 00023 /*===========================================================================*/ 00024 00025 int user_receive_cp_data PROTO((void **user)); 00026 int user_free_cp PROTO((void **user)); 00027 int user_prepare_to_check_cuts PROTO((void *user, int varnum, int *indices, 00028 double *values)); 00029 int user_check_cut PROTO((void *user, double lpetol, int varnum, int *indices, 00030 double *values, cut_data *cut, int *is_violated, 00031 double *quality)); 00032 int user_finished_checking_cuts PROTO((void *user)); 00033 int user_receive_lp_solution_cp PROTO((void *user)); 00034 00035 #endif