Question: can you write the code for the opl model and data file for this: The constraints ensure proper allocation o f resources: d tonnes, maximum

can you write the code for the opl model and data file for this:
The constraints ensure proper allocation of resources: d
tonnes, maximum 50 tonnes(xijrail),(10xijrail50).
Non-negativity:
(xijmode0). Minimize Z=12xD1,C1road+11xD1,C2road+12xD2,C1rail+14xD2,C1road+9xD3,C2road+10xD3,C3rail+5xD3,C3road+11xD4,C2rail+14xD4,C2road
Constraints
Flow Balance:
Total supply equals total demand: ??xij=190
The objective function isto minimize the total transportation cost by summing the product of tonnes transported and theit
cost across all routes and transport modes. This ensures the company achieves the lowest logistics expense while meeting
constraints.
Depot Capacities:
=(xD1,C1road+xD1,C2road50)
=(xD2,C1rail+xD2,C1road40)
=(xD3,C2road+xD3,C3rail+xD3,C3road35)
=(xD4,C2rail+xD4,C2road+xD4,C3rail+xD4,C3road65)
can you write the code for the opl model and data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!