Design an Optimized Train Builder Service
Design a service that assembles an optimized train configuration given a set of locomotives with varying pull capacities and railcars with different weights and lengths, while satisfying constraints such as maximum total weight, maximum total length, and maximum number of locomotives.
Asked at:
BNSF