Diet Problem

Home

Description

This example introduces a simplified diet problem. The example considers a small data set, which includes 9 different food types and 4 different nutrients. The 9 food types form a small but representative selection of the McDonald’s menu. The 4 nutrients are calories, protein, fat, and carbohydrates. The goal is to determine a daily diet to cover the afternoon and the evening meals.

This example illustrates how data consistency can be ensured through measurement units. Another feature is the availability unit conventions that allow users with different backgrounds to view and enter data in their own choice of measurement units without having to change either the model or its data.

Keywords

Blending problem, Quantity and Units, Unit Parameter, Unit Conversions

Model Types

(Mixed) Integer Programming

References

opent in een nieuw venster Chapter 10 - A Diet Problem in the Optimization Modeling Guide

Download AIMMS Example

You can download an AIMMS example dealing with this problem via the link below, and run it after installing the AIMMS software. If you don't have an AIMMS license yet, you can download a free license of AIMMS.

opent in een nieuw venster ftp://ftp.aimms.com/pub/Download/Examples/Diet Problem.aimmspack

Please make sure to save this file including the .aimmspack extension so that it can be opened by AIMMS.

This example application is a simplification of reality. Please do not hesitate to contact us to discuss how AIMMS enables you to build a complete optimization application that captures the full complexity of your problem.

Screenshot AIMMS Example

Diet Problem

 Login  to update your profile.

Login