Model type · Blend / Composition

Composition Models

Use a Composition model when several inputs become one finished blend. The solver chooses the recipe while batch size, input ranges, cost, and property requirements hold together.

Choose this model when

  • The main answer is an amount or percentage for every ingredient, feedstock, source, or production input.
  • Inputs contribute measurable properties such as nutrition, quality, performance, origin, carbon, or impurity load.
  • You need the lowest-cost or highest-value qualified blend, rather than a sequence of operations.

How the model is structured

Inputs

Each candidate has an availability or use-level range, a cost, and per-unit contributions to the properties you track.

Phases

Optional phase groupings keep a formulation readable before all inputs converge into the finished batch.

Batch

The finished amount is fixed or bounded. When batch mass is fixed, input quantities can be read directly as shares.

Property requirements

Minimums and maximums apply to the weighted total contributed by all selected inputs.

Worked walkthrough

Skincare Formulation

Baseline

The qualified 1,000 kg recipe costs $1,310.45 and uses 5.25 kg of squalane while the natural-origin and comedogenicity requirements shape the blend.

Change one input

Change the natural-origin requirement from 97% to 95%, leaving the ingredient ranges and other requirements unchanged.

What changes

Squalane leaves the recipe and the solved cost falls to $1,235.90, about $75 less per batch.

A small product-specification change can alter both the recipe and its economics; the counterfactual makes that trade-off explicit.

Open the verified example →

Build it step by step

  1. Set the finished batch amount and its unit before entering ingredient ranges.
  2. Add candidate inputs and use-level bounds. Treat unavailable or disallowed ingredients as structural limits, not high costs.
  3. Attach cost and property rates in compatible units, then add the finished-product requirements those rates must satisfy.
  4. Minimize cost or optimize the relevant measure, solve, and test changes to one binding property or input range at a time.

Start a blank model from Models, or open one of the examples below and edit a copy. Shared controls for optional mechanics are covered in the Planning Model Reference.

Read the result

  1. Read the solved recipe first, including inputs at their minimum or maximum use levels.
  2. Identify the property requirements that are fully used; they explain why a more expensive input can enter the blend.
  3. Use a counterfactual to measure the cost of tightening or relaxing a product requirement.

For solver status, comparisons, pressure tests, and reporting, continue to Read the Answer.

Common modeling mistakes

Do not treat a screening score as a safety, efficacy, stability, or regulatory claim without external validation.
Do not mix percentages, mass quantities, and per-unit property rates without an explicit common basis.
Do not use Composition when inputs remain separate items assigned to destinations; use Assignment.

Try a solved example