OptaPlanner logo
  • Download
  • Learn
    • Documentation
    • Videos

    • Use cases
    • Compatibility
    • Testimonials and case studies
  • Get help
  • Blog
  • Source
  • Team
  • Services
  • Star
  • T
  • L
  • F
  • YT
Fork me on GitHub

Red Hat Mobile Portfolio Truck dodges storms while keeping Sales happy with OptaPlanner

Mon 19 November 2018
Avatar Sudheer Chekka
Sudheer Chekka

GitHub

Contributor

The Mobile Portfolio Truck is Red Hat’s 18-wheel semi truck bringing enterprise IT solutions to customers which includes demo kiosks and hands-on experience with Red Hat’s portfolio. Our goal is to optimize the route of this truck to reach most customers to maximize revenue opportunity and reduce fuel consumption.

mpcTruckRedHat

The Red Hat sales team work out the logistics with their customers such as availability dates and location to host the truck at the customer’s premises to showcase Red Hat’s portfolio. It is a daunting task to find an optimal schedule for MPC to visit all the customers across North America based on the customer’s availability dates, location and revenue opportunity size. Adding to this already complex problem, is the need to accommodate for last minute customer schedule changes and any unforeseen weather conditions.

Let’s explore how OptaPlanner, Red Hat’s Business Optimizer platform, can help solve these planning problems. Here is a scenario where the MPC is stationed in St. Louis and scheduled to visit few customers in Florida and North Carolina for the next 2 weeks. Due to unforeseen weather conditions in the Caribbean region, MPC cannot make that trip and need to quickly come up with a new schedule to maximize the revenue opportunities in other regions with limited resources such as labor, fuel and other constraints such as customer’s availability dates, opportunity size and location.

We built a mobile application (deployed on OpenShift Container Platform) for account sales reps to request MPC for their customers. The prototype of this mobile application has a pre-configured list of accounts with its locations and availability date to host MPC. All the submitted requests are processed and stored in the underlying in-memory datastore (Red Hat Data Grid).

mpcRequestForm

The backend application consists of multiple services also deployed on OpenShift. One of the services receive the MPC requests from the mobile application, process the data and stores in Red Hat Data Grid. Another service is the OptaPlanner service which is configured with various hard and soft constraints using Red Hat Decision Manager based business rules. These constraints include MPC need to take break during night and weekends, drive only certain number of hours in a day, maximize revenue opportunity, visit all accounts. Here is the screenshot of the dashboard application displaying the MPC requests from the mobile application and the starting location of MPC.

mpcTruckSchedule1

On clicking the Find Optimal Route button, the underlying OptaPlanner service pulls the truck request data from Data Grid and computes an optimal route based on the configured constraints.

mpcTruckSchedule2

The pins in the map are numbered indicating the truck stops based on the computed optimal route.

Using OptaPlanner, we were able to solve a planning problem of truck’s schedule by maximizing sales revenue opportunity, reducing fuel and labor costs under constraints such as dates, location and driving times.


Permalink
 tagged as use case vehicle routing

Comments

Visit our forum to comment
AtomNews feed
Don’t want to miss a single blog post?
Follow us on
  • T
  • L
  • F
Blog archive
Latest release
  • 8.35.0.Final released
    Fri 3 March 2023
Upcoming events
    Add event / Archive
Latest blog posts
  • OptaPlanner 9 is coming
    Tue 21 February 2023
    Lukáš Petrovický
  • Farewell - a new lead
    Tue 15 November 2022
    Geoffrey De Smet
  • Run OptaPlanner workloads on OpenShift, part II
    Wed 9 November 2022
    Radovan Synek
  • Bavet - A faster score engine for OptaPlanner
    Tue 6 September 2022
    Geoffrey De Smet
  • Run OptaPlanner workloads on OpenShift, part I.
    Thu 9 June 2022
    Radovan Synek
  • OptaPlanner deprecates score DRL
    Thu 26 May 2022
    Lukáš Petrovický
  • Real-time planning meets SolverManager
    Mon 7 March 2022
    Radovan Synek
  • Blog archive
Latest videos
  • The Vehicle Routing Problem
    Fri 23 September 2022
    Geoffrey De Smet
  • Introduction to OptaPlanner AI constraint solver
    Thu 25 August 2022
    Anna Dupliak
  • On schedule: Artificial Intelligence plans that meet expectations
    Sat 23 July 2022
    Geoffrey De Smet
  • Host your OptaPlanner app on OpenShift (Kubernetes)
    Mon 7 February 2022
    Geoffrey De Smet
  • OptaPlanner - A fast, easy-to-use, open source AI constraint solver for software developers
    Mon 31 January 2022
  • Order picking planning with OptaPlanner
    Fri 31 December 2021
    Anna Dupliak
  • AI lesson scheduling on Quarkus with OptaPlanner
    Thu 18 November 2021
    Geoffrey De Smet
  • Video archive

OptaPlanner is open. All dependencies of this project are available under the Apache Software License 2.0 or a compatible license. OptaPlanner is trademarked.

This website was built with JBake and is open source.

Community

  • Blog
  • Get Help
  • Team
  • Governance
  • Academic research

Code

  • Build from source
  • Issue tracker
  • Release notes
  • Upgrade recipes
  • Logo and branding
CC by 3.0 | Privacy Policy
Sponsored by Red Hat