注册一亩三分地论坛,查看更多干货!
您需要 登录 才可以下载或查看附件。没有帐号?注册账号
x
Part 1
To start, we want to be able to receive orders and assign them to voyages, if a voyage satisfies the order’s needs.
An order specifies the origin and destination port, as well as a dropoff date (the date the client will have the goods
ready to ship), and a target delivery date (the deadline for the goods to be delivered. A voyage is a shipping route
between an origin and destination port, and it has a specific departure date and arrival date.
How you choose to model this system is up to you. Write a method book_order that will assign the given order to the
earliest possible voyage by departure date.
----
Part 2
We’re gaining traction and we’re getting too many bookings that fill our`capacity. You can only load a maximum number
of orders on each voyage. Extend your model to account for this restriction on capacity
----
Part 3
As you may know, supply chains are kind of messy right now, due t您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 使用VIP即刻解锁阅读权限或查看其他获取积分的方式 游客,您好! 本帖隐藏的内容需要积分高于 188 才可浏览 您当前积分为 0。 VIP即刻解锁阅读权限 或 查看其他获取积分的方式 it, since
Voyage 1 is capped, and Voyage 2 arrives too late. But if we move Order1 to Voyage2, we’d be able to book Order2 as well.
Modify your system so that an order is booked if rescheduling a single other shipment opens capacity.
应该是全网最全的描述了吧,求大米!!! |