mascoptDev.algos.graph
Class NetworkDesignRelaxCplex
java.lang.Object
|
+--mascoptDev.algos.graph.NetworkDesignRelaxCplex
- public class NetworkDesignRelaxCplex
- extends Object
Provides an algorithm to write and solve (by using an algorithm
defined by A. Laugier and S. Petat ) the network design problem.
This linear program is consider with a arc-path formulation, we so have generated
some paths by using the class PathGeneratortRandomWalk. It is clear that we
so just consider a part of the problem, because the number of paths we must consider
is exponential. The hashmap phiMap, which is public, contains the paths generated.
(for each request, a set of paths is associated)
We have as entry : one graph G, one request graph D and a boolean (which specify
if we consider the constraint of capacities or not)
--- defineND defines the network design problem linear program
--- separation is a method to add the blossom constraints which are violated and
which compute the solution of the ND problem in which we have added these constraints
--- printResult write the result.
INFINI
public double INFINI
cplex
public ilog.cplex.IloCplex cplex
phiMap
public HashMap phiMap
varpMap
public HashMap varpMap
xMap
public HashMap xMap
NetworkDesignRelaxCplex
public NetworkDesignRelaxCplex(Graph G,
Graph D,
boolean withcapcons)
defineND
public void defineND()
printResult
public void printResult()
separation
public void separation()