Linear Programming · Swine Nutrition

Feed4Profit

Formulate diets, compare programs, and connect feed decisions to profit — all in one place.

Designed by engineering students for nutritionists, producers, and research teams who want quick, clear answers to a simple question: “What happens to margin if we change this feed program?”

All calculations happen on your device. Diet libraries are saved and loaded via JSON files you control.

Programs
Compare side-by-side

Baseline vs. new strategies under current prices.

Diet phases
Multi-phase

Starter, grower, finisher — each with its own constraints.

Key outputs
Revenue · Cost · Margin

Per pig and per group for clear economic decisions.

What can you do with Feed4Profit?

Build diet libraries

Create a library of diets with ingredients, prices, and detailed nutrient profiles. Each ingredient can carry phase-specific nutrient assumptions and min/max bounds.

  • Multiple diets per library.
  • Per-ingredient nutrients (e.g. Dry Matter, Energy, Amino acids).
  • Optional min/max constraints for each nutrient and ingredient.
Open diet tools →

Compare feed programs

Assemble diets into programs and see how different strategies impact performance and economics under the same market conditions.

  • Program 1 vs Program 2, side-by-side.
  • Flexible phases with min/max days or bodyweight ranges.
  • Revenue, feed cost, and margin summaries.
Start a comparison →

Model performance over time

Use performance assumptions to project bodyweight and feed usage over time, then overlay different programs on the same graph.

  • Bodyweight vs. time curves.
  • Feed usage vs. time per program.
  • Visualize “what if” scenarios before changing the barn.
Go to Performance Modeling →

Your workflow in three steps

1. Define diets

Start by describing your diets in the Diet Library:

  • Ingredients, inclusion percentages, and price per ton.
  • Per-ingredient nutrient profiles with value, min, and max.
  • Export and import libraries as JSON files.

2. Build programs

Combine diets into full programs with clear phase structure:

  • Assign diets to phases (starter, grower, finisher, etc.).
  • Set min/max bounds for each phase (days or bodyweight).
  • Specify pig numbers, starting weights, and target market weights.

3. Compare outcomes

Use Program Comparison and Performance Modeling to see:

  • Differences in feed cost per pig and per group.
  • Revenue shifts under different lean hog prices.
  • Margin impact when you adjust a single diet or phase.

Who is Feed4Profit for?

  • Swine nutritionists testing alternative ingredients and formulas.
  • Producers evaluating program changes before implementing them in barns.
  • Students and researchers exploring diet economics and growth models.

It’s meant to be practical: start with simple assumptions and grow into more complex models as your data and questions evolve.

What’s under the hood?

Feed4Profit is built around a linear programming mindset: diets and programs are described with constraints, and the goal is to understand how those constraints shape costs and performance.

  • Ingredient-level constraints (min/max inclusion).
  • Nutrient-level constraints (min/max targets per ingredient and diet).
  • Hooks for optimization models (cost minimization or margin maximization).

As the project grows, these same structures can feed directly into solvers and more advanced performance models.