Optimisation Try Protos
← Home · Optimisation
Optimisation is in beta.
Optimisation finds better designs for you. You say which outputs to minimise, maximise or hit, which inputs it may vary and how far, and how many runs it may spend. A study then searches, either by running a simulation canvas for each design or by learning from your test data in the Data Studio, and reports the best design it found.
On This Page
- Optimisation at a Glance
- Starting a Study
- Setting Up a Study
- Choosing a Method
- While It Runs
- Reading the Result
- Studies From Data
- Keeping and Reusing a Result
- Who Can Do What
Optimisation at a Glance
Optimisation in the sidebar lists the project's studies.

- New study starts an empty draft.
- Create with Co-Engineer opens the Co-Engineer to set one up with you.
- All, Running, Drafts and Completed filter the list. Archived appears once you've archived a study.
- A study, with its Source, its Result so far, its Method, the Runs it used of its budget, and its Status. The ⋯ menu deletes a draft, archives a finished study or stops a running one.
Click a study to open it: its setup while it's a draft, and its results once it runs.
Starting a Study
There are three ways to start one:
- Optimise in the Simulation Studio toolbar starts a study on that canvas.
- Optimise in the Data Studio, with a schema selected, starts a study on that schema's data.
- New study on the Optimisation page starts with nothing picked.
The first two fill in where the study starts from, and name the study after the canvas or schema. A study from New study is called Untitled. Every new study is a draft. Click the pencil next to its name to rename it.
Setting Up a Study

- Open canvas opens the canvas the study runs. Change picks another.
- The Role of each output: what the study does with it.
- The limit of a constraint, or the value of a target.
- Fixed or Vary for each input.
- The range an input may take.
- Vary an input adds one.
- The Method the study searches with.
- The Budget: the most runs the study may spend.
- Start N runs.
What the study runs on
A study started from Optimise already knows its source. With New study, pick it first under Evaluation method:
- Simulation: it runs a simulation canvas for every design it tries.
- Data: it fits a statistical model to the data you already have in a schema, and searches the model. See Studies From Data.
Outputs
The outputs are what the study scores. For each one, set a Role:
- Minimise or Maximise.
- Target ±: hit a value, within a tolerance.
- Constraint ≤ or Constraint ≥: a limit a design must stay within.
Clear an output's box to keep it in the table and the results without scoring it.
An output that's a curve or a table needs to become one number to be scored. Summarise takes its Max, Min, Mean or Integral. Compare to data scores how far it is from a reference curve, which comes from tests. With two or more goals, Combine goals asks how to weigh them:
- Weighted sum: one score, with a Weight per output. The study finds one best design.
- Pareto front: no single score. The study finds the designs where no output can improve without another getting worse, and you choose among them.
Inputs
Every input is Fixed or Vary. For an input that varies, give its range under Value or range; the value on the canvas shows underneath. An input whose value is a whole number shows integer and only takes whole numbers. Add input constraint adds a rule over several inputs, such as a total that must stay below a limit.
An input that's a list or a table, such as a curve over time, varies at a few Knots rather than at every value:
- Bounds sets how far each knot may move: to Absolute values, by Adding to the current value, or by Scale.
- Between knots fills in the values in between: PCHIP keeps the curve smooth without overshooting, Linear joins the knots with straight lines.
- Shape: Keep preserves the curve's shape, for example rising stays rising. Free lets each knot move on its own.
Searches counts the values the study varies, knots included. The fewer there are, the sooner it finishes. The bar turns red when there are too many.
Tests
A test is one set of conditions the design must perform under, for example one load case. With tests, every design runs once per test, and its score covers all of them.
Under Compare to data on a curve output, Link test data picks a Data Studio schema where each document is one test, with its reference curve. The score is then the mean over the tests.
Run canvas runs the canvas once per test with the current values, so you can see where the design stands before the study starts.
Plan

The Plan panel sets the Method (see Choosing a Method) and the Budget. A data study asks for Designs to find instead.
- Regularization adds penalties on the inputs to the score. Add a penalty offers Ridge, which pulls the inputs toward where the search starts, and Smoothness, which keeps a fitted curve or table from going wavy.
- Advanced holds an early-stopping rule and the method's own settings, each with a line on what it does.
Starting
Anything missing is listed above the start button, for example Vary at least one input or Switch on at least one output, so the study has a result. The button stays disabled until the list is empty.
Choosing a Method

Method starts on the one that suits most studies of its kind, marked default below. The list only offers the methods that fit your study, each with a one-line hint.
On a canvas, for one best design:
- Nelder-Mead (default): a local search from the canvas's values. Good with a few inputs.
- Gradient descent: a local search for outputs that change smoothly with the inputs.
- Levenberg–Marquardt: fits a design to reference curves, when an output is compared to test data.
- Pattern search: a local search that copes with noisy outputs.
- CMA-ES: for rugged outputs and many inputs.
- Differential evolution: a global search across the whole range. It needs many runs.
- Grid search: tries every combination. Only for a few inputs.
- Random sampling: spreads designs across the ranges, to see what the space looks like.
On a canvas, for trade-offs:
- NSGA-II (default): finds the Pareto front between outputs.
- NSGA-III: for three or more outputs.
From data:
- Bayesian optimisation (default): learns a model from the data and needs few runs.
- NSGA-II on a model (default for trade-offs): finds the Pareto front on the fitted model.
- Space-filling: covers the ranges evenly without optimising, for example for a first lab round.
While It Runs
The status line shows progress, for example Running · 12 / 50 runs.
Stop waits for the runs in flight to finish, then stops the study and keeps the results it has. A study also stops by itself when it runs out of budget or stops improving, and its page says why.
Reading the Result
Once a study finishes, its page has two tabs: Results, and Setup, which shows what the study ran with, read-only. The results come in three sections.
Result

- Results and Setup.
- The status line: how many runs it used and why it stopped.
- Save design.
- Run N more.
- Duplicate and edit.
What Save design, Run N more and Duplicate and edit do is under Keeping and Reusing a Result.
Best design (Best so far while it runs) compares each output with the Baseline, the canvas's own values, and says whether each constraint is Met and by how much. Under it, each input's Range marks where the baseline (the line) and the best design (the dot) sit.
If the best design ended at the edge of a range, a banner says so. Widen range opens a copy of the study with that range made wider, ready to run.
On a Pareto study, Pareto front plots the designs on two outputs you pick under Across and Up. Click one to see it as the Selected design.
Search

Score per run shows each run's score and the Best so far. The chart beside it depends on the method: here, the Simplex moves of Nelder-Mead.
Runs

- Download CSV exports every run.
- A rejected run says which constraint it broke.
Best first lists every design the study tried, with its inputs, outputs, Score and Status. All, Valid and Rejected filter it.
If no design produced a result, No result explains why and offers Duplicate and edit, Open canvas and Ask Co-Engineer.
Studies From Data
A data study fits a model to the documents in a schema and searches the model. Training data in Plan shows how many rows it learns from, and how well the model predicts each output. Its own results stay inside the study and don't change the schema.
Its inputs are the schema's fields: Vary a field adds one. The fields you don't vary take their values from a Baseline document: Choose baseline picks it.
Set Designs to find and click Find N designs. Best designs lists them with their predicted outputs, and Model shows how well the model predicts what was measured and how each input moves each output. Evaluate designs then tests them:
- On a simulation canvas that has a data input on the schema.
- In the lab, as Round 1. Type each design's measured outputs into the table, or use ⋯ → Download batch sheet, fill it in, and Upload lab results. Skip in a design's ⋯ leaves it out.
Finish round closes the round once at least one design is measured, and the model refits on everything measured. Stop the round closes it with nothing measured. Then choose Plan round 2 or Done.
To plan several lab rounds from the start, choose Test in lab rounds… from the arrow beside Find N designs. The Budget becomes rounds × designs, and the button reads Start · N designs.
Keeping and Reusing a Result
- Save design on a canvas study saves the best or selected design as a data document, under a name you can change. Open in Data Studio then opens it.
- Run N more starts a copy of the study from the best design, with N more runs. The original stays as it is.
- Duplicate and edit copies the setup into a new draft to change and run. The original stays as it is. On a study with list or table inputs, choose whether the copy starts From the start or From best.
- Archive in the list's ⋯ menu hides a finished study without deleting it. Unarchive brings it back.
Who Can Do What
- Anyone in the project can open a study, read its results and download its sheets.
- Only the person who created a study can edit its setup, start or stop it, rename, archive or delete it, save its designs and upload lab results. Everyone else sees the setup read-only.
- Anyone in the project can Duplicate and edit a study, Run N more or Widen range. Each makes a copy that belongs to them.
- Optimise on a canvas needs edit access to that canvas.
See Also
- Design of Experiments: plans rounds of experiments step by step
- Simulation Studio: the canvases a study runs
- Data Studio: the schemas a data study learns from, and where a saved design lands
- Co-Engineer: can set up a study with you