Question: 1 . Modify the model and rewrite a better code such that each AGV should be assigned to only one Rack. Please do not suggest
Modify the model and rewrite a better code such that each AGV should be assigned to only one Rack. Please do not suggest me changing to or removing one constraint from AGV assignment. I have already did use these but not got the result. Check your final answer before sending.
Write codes for this question as well:
Building an integrated orderdispatching system
Currently House.AI has a legacy system to assign orders to workstations. They would like to explore the benefit of integrating the orderdispatching decision into the AGVdispatching model. In this second part of the project, the task is to include the assignment of orders to workstations in the optimisation model. How does the integrated model compare to the previous one? What is the difference in cost How many more orders are fulfilled?
Model:
# The sets
set Racks; # Set of racks
set AGVs; # Set of AGVs
set Workstations; # Set of workstations
set SKUs; # Set of SKUs
set Axesxy; # Set of axes
# Parameters
param racklocationRacks Axes; # Rack location
param rackstatusRacks binary; # Rack status, for stationary and otherwise
param agvlocationAGVs Axes; # AGV location
param agvstatusAGVs binary; # AGV status, for idle and for active
param workstationlocationWorkstations Axes; # Workstation location
param skuinventoryRacks SKUs; # SKU inventory
param demandsWorkstations SKUs; # Demands
param berthsWorkstations; # Berths
# Decision variables
var AssignRackToAGVRacks AGVs binary; # Rack to AGV assignment
var AssignRackToWorkstationRacks Workstations binary; # Rack to workstation assignment
# Objective function
param alpha :; # Weight for rackAGV distance
param alpha :; # Weight for rackworkstation distance
param alpha :; # Weight for unfulfilled orders
minimize TotalDistance:
alpha sumr in Racks, a in AGVs, ax in Axes AssignRackToAGVr a absracklocationr ax agvlocationa ax
alpha sumr in Racks, w in Workstations, ax in Axes AssignRackToWorkstationr w absracklocationr ax workstationlocationw ax
alpha sumw in Workstations, s in SKUs max demandsw s sumr in Racks AssignRackToWorkstationr w skuinventoryr s;
# Constraints
subject to RackAssignmentConstraintr in Racks:
suma in AGVs AssignRackToAGVr a;
subject to AGVAssignmentConstraintr in Racks:
suma in AGVs AssignRackToAGVr a;
subject to WorkstationAssignmentConstraintr in Racks:
sumw in Workstations AssignRackToWorkstationr w;
subject to BerthConstraintr in Racks:
sumw in Workstations AssignRackToWorkstationr w sumw in Workstations berthsw;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
