带有用户定义服务粒度的混合整数目标规划用于个性化餐优化
Mixed Integer Goal Programming for Personalized Meal Optimization with User-Defined Serving Granularity
AI总结:
本文提出混合整数目标规划(MIGP)解决个性化餐优化中的服务粒度和营养约束问题,通过整数变量和目标规划偏差实现更灵活的营养目标,且在多数情况下优于传统方法。
摘要:
确定吃什么以满足营养需求是运筹学中最古老的优化问题之一,但现有方法存在两个持续性限制:连续变量产生不实际的分数份量(1.7个鸡蛋,0.37个香蕉),且硬性营养约束在目标冲突时导致不可行。对56篇饮食优化论文的系统综述发现,没有方法结合整数规划与目标规划来解决这两个问题。我们提出混合整数目标规划(MIGP)用于个性化餐优化。该方法使用整数变量表示实际份量,目标规划偏差表示软性营养目标,并通过逆目标归一化平衡多营养优化。每种食物的份量粒度允许自然单位(一个鸡蛋,一个油汤匙)而无需事后四舍五入。我们表征了目标规划上下文中的整数间隙,并识别出偏差吸收性质:目标规划偏差变量缓冲了要求整数份量的成本,使间隙结构上比硬约束MIP更小。对于包含15种以上食物的餐点,整数解在每个基准实例中都与连续最优解一致。在810个实例(30种USDA食物,9种配置,3种方法)的计算评估中,MIGP在66%的情况下优于GP后四舍五入方法(从不更差),同时保持100%可行性;硬约束IP仅达到48%。使用开源HiGHS求解器,典型餐点大小的求解时间仍低于100毫秒。该实现作为开源Python模块集成到交互式餐计划应用程序中。
英文摘要:
Determining what to eat to satisfy nutritional requirements is one of the oldest optimization problems in operations research, yet existing formulations have two persistent limitations: continuous variables produce impractical fractional servings (1.7 eggs, 0.37 bananas), and hard nutrient constraints cause infeasibility when targets conflict. A systematic review of 56 diet optimization papers found that none combine integer programming with goal programming to address both issues. We propose Mixed Integer Goal Programming (MIGP) for personalized meal optimization. The formulation uses integer variables for practical serving counts and goal programming deviations for soft nutrient targets, with inverse-target normalization to balance multi-nutrient optimization. Per-food serving granularity allows natural units (one egg, one tablespoon of oil) without post-hoc rounding. We characterize the integrality gap in the goal programming context and identify a deviation absorption property: GP deviation variables buffer the cost of requiring integer servings, making the gap structurally smaller than in hard-constraint MIP. For meals with 15+ foods, the integer solution matches the continuous optimum in every benchmark instance. A computational evaluation across 810 instances (30 USDA foods, 9 configurations, 3 methods) shows MIGP finds strictly better solutions than GP with post-hoc rounding in 66% of cases (never worse) while maintaining 100% feasibility; hard-constraint IP achieves only 48%. Solve times stay under 100 ms for typical meal sizes using the open-source HiGHS solver. The implementation is available as an open-source Python module integrated into an interactive meal planning application.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。