Mixed Integer Goal Programming Proposed for Personalized Meal Optimization Addressing Serving Granularity and Feasibility

Traditional diet optimization models in operations research often struggle with two major practical hurdles. Most current formulations use continuous variables that result in unrealistic fractional servings, such as 1.7 eggs, and rely on hard nutrient constraints that frequently cause system failures when multiple nutritional targets conflict with one another. This new research addresses these issues by combining integer programming with goal programming to ensure that meal plans are both implementable and mathematically feasible. The proposed Mixed Integer Goal Programming model utilizes integer variables to represent natural serving units like whole eggs or tablespoons while employing goal programming to handle soft nutritional targets. This approach incorporates inverse-target normalization to balance multi-nutrient optimization across different scales. A key discovery in this study is the deviation absorption property, which shows that goal programming deviation variables can buffer the mathematical costs of requiring integer servings, making the results more efficient than standard integer programming. Evaluation across 810 USDA food instances revealed that this method consistently finds better solutions than traditional goal programming followed by manual rounding. It maintained 100% feasibility in scenarios where hard-constraint models failed, demonstrating that the integer solution matched the continuous optimum in every benchmark for meals involving fifteen or more food items. For software engineers developing health and nutrition applications, this framework provides a robust alternative to heuristic-based meal generation and manual post-processing.
Related tools
Recommended tools for this topic
These picks prioritize high-intent tools relevant to this topic. Some links may include partner or affiliate tracking.
A strong security and edge platform match across CDN, Zero Trust, and app protection.
View CloudflareA high-relevance security pick for identity, secret management, and team access control.
View 1PasswordStrong for identity, OIDC, and B2B auth readers evaluating implementation tradeoffs.
View Auth0Comparison
| Aspect | Before / Alternative | After / This |
|---|---|---|
| Serving Units | Continuous variables (e.g., 0.37 bananas) | Integer variables (natural units like 1 banana) |
| Constraint Type | Hard nutrient constraints | Soft targets with goal programming deviations |
| Feasibility | Frequent infeasibility when targets conflict | 100% feasibility via deviation absorption |
| Rounding Logic | Post-hoc rounding after optimization | Integrated integer optimization for granularity |
Source: arXiv
This page summarizes the original source. Check the source for full details.

