Working with Wonderful WebUI Widgets

Purpose

AIMMS is designed for building bespoke interactive optimization applications. To let you experience such an interactive optimization application, the Wonderful WebUI Widgets application provides some examples whereby optimization helps an end-user to do analysis or scheduling. Each example takes just a few minutes of your precious time to give you an impression on how an interactive optimization application can support end-users, such as analysts or planners, in their activities.

Feel free to run the Wonderful WebUI Widgets application using the AIMMS Community Edition.

We appreciate feedback about the Wonderful WebUI Widgets application on the AIMMS Community or by writing to AIMMS User Support.

In the following, how to use each of the page of this application is briefly described.

Welcome

The Welcome page introduces the Wonderful WebUI Widgets application and provides an overview of the available pages. To the left of that page, there is a Workflow allowing you to easily navigate between the examples incorporated.

Map

Story

OxyGem is an oxygen distillation and bottling company in Germany. Amongst others, the company provides oxygen tanks for industry (welding), tourism (diving), and health care (breathing). There are separate locations for

  1. oxygem-distillation distillation,

  2. oxygem-pumping pumping, and

  3. oxygem-bottling bottling.

The distillation and bottling locations are owned, but the pipes and pumps between the locations are rented.

Its network functioned well for years; usually, demand could be met. Lately, however, due to the corona crisis, the demand for oxygen tanks has significantly grown, and sometimes there is unmet demand. This is a painful and unexpected surprise to management. Unexpected because there is a significant surplus capacity at their distillation locations.

Can you advise OxyGem management on how to adapt the network to cater for this increased demand?

To help you answer this question, a map widget is provided. Its operation is presented below.

Operating the map widget

The map widget opens with a network showing the available connections. The capacity of the distillation and pumping nodes and the demand of the bottling nodes is reflected in the size of the corresponding icons.

Your tools are as follows:

  1. The widget actions: You can find the hamburger menu in the right upper corner of the map widget:

    ../../_images/map-widget-menu.png

    This menu provides two actions:

    1. Initialize: initialize the network and randomize the demand.

    2. Solve: optimize the flows over the existing network.

  2. Hovering: By hovering over a node, a small table is presented as a tooltip. Which looks, for instance, as follows:

    ../../_images/map-widget-tooltip.png

    Tip

    hovering over a bottling location with an orange background will give you the unmet demand for that location.

  3. Control:

    This is a side panel, and in this side panel, some configuration parameters of the network can be specified. Notably:

    1. The cost coefficients for unmet demand, production unit capacity, and oxygen transportation

    2. The pipe capacity

  4. The item menu:

    By clicking first left, and then right on one of the nodes, a tailored item menu pops up:

    1. For distillation and pumping locations, the capacity can be increased or decreased by 1 or 5. For bottling locations, the demand can be increased or decreased by 1 or 5.

    2. The properties of the location can be inspected and edited.

In addition, the app auto colors:

  • In red, those bottling stations that do not have enough oxygen to meet demand

  • In orange, those pumping and distillation locations are at their capacity.

Tip

You may want to start with optimizing the flow over the given network to identify the existing bottlenecks.

Gantt

The Levram company operates three production lines, nicknamed

  1. King Kong,

  2. Hercules, and

  3. Antman.

Each production line handles an order as a single task: stopping a task halfway leads to clogging and other problems. Even though all three lines can handle all types of orders, King Kong is more suited to handling orders with large items, Antman is more suited to handling orders with small items, and Hercules is somewhat in between. Based on order amount, type, and production line, the app will compute the time needed to complete the order.

Normally the orders are scheduled by an optimization algorithm, but each order can be scheduled by manually.

In between handling orders, there can be maintenance tasks (product “none” made). The duration of these tasks need to be specified manually. Normally maintenance tasks are scheduled manually.

As a production planner, you were notified yesterday by Quality Control that there will be a surprise inspection on 2016-05-10 between 08:00 and 14:00 on all three production lines. They expect each production line to be halted for at least two hours to do the inspection. Of course, Business Development wants the production to be interrupted minimally.

Hopefully, the Gantt page will help you in planning existing orders.

The Gantt Chart page contains a Gantt Chart and a table. The jobs that are scheduled by the optimization algorithm have a black border. The jobs that can be dragged to a suited position by a human scheduler have a blue border.

  1. Page actions: in the lower right there is a menu containing two page actions:

    1. Pacman: This invokes an optimization algorithm scheduling tasks.

    2. New: A dialog page is opened allowing you to create a new task.

  2. Hovering over a job will show a tooltip as follows:

    ../../_images/gantt-widget-tooltip.png
  3. Clicking left and then right brings up a menu. Some actions will be greyed, and thereby not available, depending on the properties of the task selected:

    ../../_images/edit-gantt-menu.png
    1. Move the task to the first possible position, only applicable to manually scheduled tasks.

    2. Move the task to the deadline, only applicable to manually scheduled tasks.

    3. Allow order to be scheduled by a living creature.

    4. Allow order to be scheduled by an optimization algorithm.

    5. Delete the order

    6. Open a dialog page to edit the properties of the task.