Hi, feel free to send me an email. I did this ~ 9-10 years ago for our startup where we generate personalized nutrition plans for our clients using glpk.
Basically you want to build bunch of inequalities and most probably you want to have more variables not only nutrients... Depend on your exact use case. On Wed, Mar 20, 2024 at 4:34 PM Bjørnar Ness <bjornar.n...@gmail.com> wrote: > Can anyone point me to an diet problem example that tries to minimize > max deviation in percentage for each nutrient, disregarding cost? > > -- > Bj(/)rnar > > -- S pozdravom Dušan Plavák