PySCIPOpt
Python Interface to the SCIP Optimization Suite
transp_nofn.py File Reference

a model for the transportation problem More...

Go to the source code of this file.

Variables

dictionary d = {1:80, 2:270, 3:250 , 4:160, 5:180}
 
 I = d.keys()
 
dictionary M = {1:500, 2:500, 3:500}
 
 J = M.keys()
 
dictionary c
 
 model = Model("transportation")
 
dictionary x = {}
 
 vtype
 
 name
 
int EPS = 1
 

Detailed Description

a model for the transportation problem

Definition in file transp_nofn.py.

Variable Documentation

dictionary c
Initial value:
1 = {(1,1):4, (1,2):6, (1,3):9, # cost
2  (2,1):5, (2,2):4, (2,3):7,
3  (3,1):6, (3,2):3, (3,3):4,
4  (4,1):8, (4,2):5, (4,3):3,
5  (5,1):10, (5,2):8, (5,3):4,
6  }

Definition at line 26 of file transp_nofn.py.