FICO
FICO Xpress Optimization Examples Repository
FICO Optimization Community FICO Xpress Optimization Home
Back to examples browserPrevious exampleNext example

Network problem: transport from depots to customers

Description
Network problem: transport from depots to customers.

Further explanation of this example: 'Xpress Python Reference Manual'

trans_python.zip[download all files]

Source Files
By clicking on a file name, a preview is opened at the bottom of this page.
trans.py[download]

Data Files





trans_data.py

# Data file for "trans.py"
COST = {("SUP1", "C1"):   9, ("SUP1", "C2"):  45, ("SUP1", "C6"):  77, ("SUP2", "C13"): 83,
        ("SUP2", "C6"):  66, ("SUP3", "C1"):  91, ("SUP3", "C13"): 44, ("SUP3", "C6"):  21,
        ("SUP3", "C15"): 25, ("SUP6", "C13"): 17, ("SUP6", "C2"):  48, ("SUP6", "C6"):  51,
        ("SUP6", "C15"): 56 }

AVAIL = {"SUP1": 256, "SUP2": 234, "SUP3": 166, "SUP6": 100}

DEMAND = {"C1": 45, "C13": 56, "C2": 55, "C6": 300, "C15": 112}

Back to examples browserPrevious exampleNext example