Dip  0.92.4
decomp.h
Go to the documentation of this file.
1 #ifndef _DECOMP_H
2 #define _DECOMP_H
3 
4 #include "sym_proto.h"
5 #include "sym_cg.h"
6 #include "decomp_types.h"
7 
8 int create_initial_lp PROTO((cg_prob *p));
9 int decomp PROTO((cg_prob *p));
10 int receive_cols PROTO((cg_prob *p));
11 int dcmp_process_message PROTO((cg_prob *p, int sender, int msgtag,
12  dcmp_col_set *cols, int *sol_id));
13 void open_decomp_lp PROTO((cg_prob *p, int varnum));
14 void close_decomp_lp PROTO((cg_prob *p));
15 int generate_cuts PROTO((cg_prob *p));
16 /*int add_cols PROTO((cg_prob *p, col_data **cols, int num_cols));*/
17 void get_cols_from_pool PROTO((cg_prob *p, int tid));
18 int generate_new_cols PROTO((cg_prob *p));
19 void add_dcmp_cols PROTO((LPdata *lp_data, dcmp_col_set *cols,
20  int col_block_size, int mat_block_size));
21 void free_dcmp_col_set PROTO((dcmp_col_set *cols));
22 
23 /*===== User supplied routines ======================================*/
24 
25 dcmp_col_set *user_generate_new_cols PROTO((cg_prob *p));
26 void user_unpack_col PROTO((cg_prob *p, col_data *col, int *nzcnt,
27  int *matind));
28 void user_display_col PROTO((cg_prob *p, col_data *col));
29 int user_check_col PROTO((cg_prob *p, int *colind, double *colval,
30  int collen));
31 void user_pack_col PROTO((int *colind, int collen, col_data *packed_col));
32 void user_free_decomp_data_structures PROTO((cg_prob *p, void **user));
33 char user_set_rhs PROTO((int varnum, double *rhs, int length, int *ind,
34  double *val, void *user));
35 void user_send_to_sol_pool PROTO((cg_prob *p));
36 
37 #endif
#define PROTO(x)
Definition: sym_proto.h:27
Definition: sym_cg.h:27