Question: MODIFY THESE CODES TO RUN ON AMPLE AND ANSWER THE FOLLOWING QUESTIONS BASED ON THAT Project aim: Since the AGVs move only along the x
MODIFY THESE CODES TO RUN ON AMPLE AND ANSWER THE FOLLOWING QUESTIONS BASED ON THAT
Project aim: Since the AGVs move only along the xyaxes, the distance between two locations in the warehouses is given by the Manhattan distance ie the norm, where the distance between two points x y and x y is defined as x yx yx x y y
Our objective, which we intend to minimise, is a weighted combination of the total distance of the rack from their assigned AGV with weight alpha the total distance of the rack from their assigned workstation with weight alpha and the total number of orders that will be left unfulfilled with weight alpha Note that it makes sense to assign larger weight in the objective to the distance the
AGV travel when carrying a rack, since they will be slower and consume more energy.
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
# Parameters
param racklocationRacks symbolic;
param rackstatusRacks symbolic;
param agvlocationAGVs symbolic;
param workstationlocationWorkstations symbolic;
param skuinventoryRacks;
param demandsWorkstations;
param berthsWorkstations;
# Decision variables
var AssignRackToAGVRacks AGVs binary;
var AssignRackToWorkstationRacks Workstations binary;
# 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 AssignRackToAGVr a absracklocationr agvlocationa
alpha sumr in Racks, w in Workstations AssignRackToWorkstationr w absracklocationr workstationlocationw
alpha sumw in Workstations, sku in max demandsw sku sumr in Racks AssignRackToWorkstationr w skuinventoryr sku;
# Constraints
subject to RackAssignmentConstraint:
forallr in Racks suma in AGVs AssignRackToAGVr a;
subject to WorkstationAssignmentConstraint:
forallr in Racks sumw in Workstations AssignRackToWorkstationr w;
subject to BerthConstraintw in Workstations:
sumr in Racks AssignRackToWorkstationr w berthsw;
DATA:
param racklocation:
R "stationary"
R "stationary"
R "stationary"
R "stationary"
R "stationary"
R "stationary"
R "stationary"
R "stationary"
R "stationary"
R "stationary"
R "stationary"
R "stationary"
R "AGV
R "stationary"
until
R "stationary"
param agvlocation:
AGV "active"
AGV "idle"
AGV "active"
AGV "idle"
AGV "idle"
AGV "idle"
AGV "active"
AGV "idle"
AGV "idle"
AGV "active"
AGV "idle"
AGV "idle"
AGV "idle"
AGV "active"
AGV "idle"
AGV "idle"
AGV "idle"
AGV "active"
AGV "idle"
AGV "idle"
;
param workstationlocation:
W
W
W
W
;
param skuinventory: S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S:
R until S
R until S
the rows continues until R each with S to S column data;
param demands: S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S S:
W until S
W until S
W until S
W until S ;
param berths:
W
W
W
W;
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
