PySCIPOpt  5.1.1
Python Interface for the SCIP Optimization Suite
weber_soco.py File Reference

model for solving the weber problem using soco. More...

Go to the source code of this file.

Namespaces

 weber_soco
 

Functions

def make_data (n, m)
 
def weber (I, x, y, w)
 
def weber_MS (I, J, x, y, w)
 

Variables

 alpha
 
list edges = [(i, j) for (i, j) in z if model.getVal(z[i, j]) > EPS]
 
int EPS = 1.e-4
 
 G = NX.Graph()
 
 I
 
 J
 
int m = 1
 
def model = weber(I, x, y, w)
 
int n = 7
 
 node_color
 
 node_size
 
 nodelist
 
 pos
 
dictionary position = {}
 
 w
 
 x
 
 X
 
 y
 
 Y
 
 z
 

Detailed Description

model for solving the weber problem using soco.

Definition in file weber_soco.py.