The purpose of this sample is to show how a LINGO model can be embedded into web applications. The objective of the model is to minimize the number of employees needed to cover each day of the week. Subject to each employee needs to work five days in a row, and every shift need to have at least the number of employees needed.

To get started fill in the number of employees needed for each day of the week. Next click the solve button and wait for the results to be displayed. The bar plot on the left is a comparison the number of employees needed versus the number that the model schedules for each day. The bar plot on the right shows the number of employees starting their work week each day. On the bottom left conner a comparison of the total shift for the week and the number of employees needed to cover them.

Total Shifts Needed :

Total Shifts Scheduled :

Total Employes :