LP-Powered Meal Solver

Meals that are
mathematically optimal.

Set your macro targets, dietary constraints, and health goals. NutriPlan's linear programming solver generates meal plans that actually satisfy every constraint — not just approximate them.

330
USDA Ingredients
9
Diet Types
2-Stage
LP + Greedy Solver
1
2
3

Plan your meal structure

How many meals, snacks, and desserts do you want per day?

3
Daily Meals
1
Smart Snacks
0
Desserts

Diet, health & restrictions

Choose your dietary preferences, health conditions, allergens to avoid, and ingredient preferences.

Comma-separated — added to your exclusion list
Comma-separated list (e.g., "broccoli, mushrooms")
Comma-separated list (e.g., "salmon, spinach")
Sets your fructose hard constraint in the solver
No chronic conditions
25g fructose daily max
Chronic condition (fructose sensitivity)
15g fructose daily max

Macro targets

Choose how to set your nutritional goals.

Targets calculated automatically based on your body stats
cm
kg
Adjusts protein & macro ratios for your training style
Enables Katch-McArdle formula for more accurate TDEE. Leave blank to use Mifflin-St Jeor.
%
📊 Your Estimated Daily Targets
Calories
Protein (g)
Carbs (g)
Fat (g)
~30
Fiber (g)
Net Carbs (g)

25
Fructose limit (g)
Hard cap — solver enforced
≥1:3
Omega-3:6 ratio
Anti-inflammatory balance
≤10
GL cap / meal
Glycemic load per meal

Your Plan Configuration

Review your settings, then generate a constraint-optimized meal plan.

The LP solver runs server-side with 330 USDA ingredients. Takes 2-5 seconds.

⚕️

Informational purposes only. This meal plan is not medical advice. Consult your healthcare provider before making significant dietary changes, especially if you have a medical condition. Terms

📋

No meal plan yet

Generate a plan first to see your optimized meals here.

Dashboard
Today's health metrics based on your meal calendar
Fructose Tracker 🍊
0.0g
consumed today
0.0g / 25g daily limit
Omega Balance ⚖️
ω3 : ω6 ratio today
Good
Poor
No data Target: 1:1 – 1:4
Today's Nutrition 📊
Calories
Protein (g)
Carbs (g)
Fat (g)
Fiber (g)
Net Carbs (g)
Weekly Meal Preview 📅
No meals planned this week. Add meals to your calendar →
Meal Calendar
Plan your meals for the week
Loading...
NutriPlan · Not medical advice · Privacy · Terms · Contact