/home/coin/svn-release/OptimizationSuite-1.1.0/SYMPHONY/Applications/CNRP/include/cnrp_lp.h File Reference
#include "sym_types.h"
#include "cnrp_lp_params.h"
#include "cnrp_common_types.h"
#include "network.h"
Go to the source code of this file.
Classes |
struct | POS_WEIGHT_LHS |
struct | LP_NET_EDGE |
struct | LP_NET_NODE |
struct | LP_NET |
struct | CNRP_SPEC |
Defines |
#define | COMPILING_FOR_LP |
#define | BEST_K 0 |
#define | VARS_CLOSEST_TO_HALF 1 |
#define | DEPOTS_CLOSEST_TO_HALF 2 |
#define | DEPOTS_CLOSEST_TO_HALF_BRANCH_RIGHT 3 |
#define | VARS_CLOSEST_TO_HALF_PREFER_DEPOT 4 |
#define | DEPOTS_AT_HALF_BRANCH_RIGHT 5 |
#define | DEPOTS_AT_HALF 6 |
#define | VARS_AT_HALF_PREFER_DEPOT_BRANCH_RIGHT 7 |
#define | VARS_AT_HALF_PREFER_DEPOT 8 |
#define | VARS_CLOSEST_TO_HALF_PREFER_DEPOT_BRANCH_RIGHT 9 |
#define | VARS_AT_HALF 10 |
Typedefs |
typedef struct POS_WEIGHT_LHS | p_w_l |
typedef struct LP_NET_EDGE | lp_net_edge |
typedef struct LP_NET_NODE | lp_net_node |
typedef struct LP_NET | lp_net |
typedef struct CNRP_SPEC | cnrp_spec |
Functions |
lp_net *create_lp_net | PROTO ((cnrp_spec *cnrp, char *status, int edgenum, var_desc **vars)) |
int cnrp_lp_connected | PROTO ((lp_net *n, double *compdemands)) |
void free_lp_net | PROTO ((lp_net *n)) |
char construct_feasible_solution | PROTO ((cnrp_spec *cnrp, network *n, double *objval, double etol, char branch)) |
double compute_lhs | PROTO ((int number, int *indices, double *values, cut_data *cut, int vertnum)) |
Define Documentation
#define VARS_CLOSEST_TO_HALF 1 |
#define DEPOTS_CLOSEST_TO_HALF 2 |
#define DEPOTS_CLOSEST_TO_HALF_BRANCH_RIGHT 3 |
#define VARS_CLOSEST_TO_HALF_PREFER_DEPOT 4 |
#define DEPOTS_AT_HALF_BRANCH_RIGHT 5 |
#define VARS_AT_HALF_PREFER_DEPOT_BRANCH_RIGHT 7 |
#define VARS_AT_HALF_PREFER_DEPOT 8 |
#define VARS_CLOSEST_TO_HALF_PREFER_DEPOT_BRANCH_RIGHT 9 |
Typedef Documentation
Function Documentation
int cnrp_lp_connected PROTO |
( |
(lp_net *n, double *compdemands) |
|
) |
|
void free_lp_net PROTO |
( |
(lp_net *n) |
|
) |
|
char construct_feasible_solution PROTO |
( |
(cnrp_spec *cnrp, network *n, double *objval, double etol, char branch) |
|
) |
|
double compute_lhs PROTO |
( |
(int number, int *indices, double *values, cut_data *cut, int vertnum) |
|
) |
|