This repository has been archived by the owner on Jul 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathgrsearch.h
64 lines (54 loc) · 2.54 KB
/
grsearch.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/* SAS modified this file. */
/* (C) Copyright 2003 Jens Lysgaard. All rights reserved. */
/* OSI Certified Open Source Software */
/* This software is licensed under the Common Public License Version 1.0 */
#ifndef _H_GRSEARCH
#define _H_GRSEARCH
void GRSEARCH_SetUnitDemand(char UnitDemand);
void GRSEARCH_SwapNodesInPos(int *Node, int *Pos, int s, int t);
void GRSEARCH_GetInfeasExt(int *Pos,
int MinCandidateIdx, int MaxCandidateIdx,
int NoOfCustomers,
int NodeSum, /* Sum of node numbers. */
ReachPtr RPtr,
int RPtrSize,
int *NodeLabel,
int Label,
char *CallBack);
void GRSEARCH_AddSet(ReachPtr RPtr,
int Index,
int SetSize,
int *List,
char AddFullSumList);
void GRSEARCH_CapCuts(ReachPtr SupportPtr,
int NoOfCustomers,
double *Demand, double CAP,
int *SuperNodeSize,
double *XInSuperNode,
double **XMatrix,
int *GeneratedSets,
int *GeneratedAntiSets,
ReachPtr SetsRPtr, /* Identified cuts. */
ReachPtr AntiSetsRPtr,
int MaxTotalGeneratedSets);
void GRSEARCH_CheckForExistingSet(ReachPtr RPtr,
int RPtrSize,
int *NodeLabel,
int Label,
int NodeSum, /* Sum of node numbers. */
int NodeSetSize,
char *ListFound);
void GRSEARCH_AddDropCapsOnGS(ReachPtr SupportPtr, /* On GS */
int NoOfCustomers,
int ShrunkGraphCustNodes,
double *SuperDemand, double CAP,
int *SuperNodeSize,
double *XInSuperNode,
ReachPtr SuperNodesRPtr,
double **SMatrix, /* Shrunk graph */
double Eps,
CnstrMgrPointer CMPSourceCutList,
int *NoOfGeneratedSets,
int MaxTotalGeneratedSets,
ReachPtr SetsRPtr); /* Identified cuts. */
#endif