OptiGein Design Docs
Home › Graphical optimization

Graphical optimization

Numerical optimization hands you a single best set of factor values. Graphical optimization shows you the whole neighbourhood around it: the range of settings where every response still meets its requirements. Use the two together and you get both the point and the room around it.

Why look at a picture

A single recommended point is easy to act on but tells you nothing about how forgiving it is. In the factory or the lab, factors drift. HPMC concentration is a little off, the room is warmer than usual, a batch of glycerol ester behaves slightly differently. What you really want to know is how much slack you have before a response falls out of specification.

The overlay plot answers that. You give each response a lower limit, an upper limit, or both. OptiGein Design then colours the factor space: yellow where every response stays inside all of its limits, grey where at least one response fails. The yellow patch is your operating window. A large patch means a robust process; a thin sliver means you have almost no margin, even if the numerical optimum sits inside it.

Do numerical first. Run Numerical optimization to find where the sweet spot is, then open graphical optimization to see how big it is. The point tells you where to aim; the picture tells you how much you can miss by.

Set the limits

Open Optimization › Graphical in the navigation pane. It has two tabs, Criteria and Graphs. Start on Criteria. The list on the left shows every response you have already analysed. A response only appears here once it has a fitted model, so if one is missing, go back to its Analysis page and fit it first.

  1. Select a response in the list. The panel on the right names it and shows the range actually observed in your runs, so you have a sensible frame of reference for the numbers you are about to type.
  2. Type a value in Lower, in Upper, or in both. Leave a box empty (it reads none) to say that side has no limit. For the worked example you might cap Disintegration Time (sec) with an upper limit, because a tablet that takes too long to disintegrate is no good, and give Hardness (N) a lower limit, because a tablet that is too soft will crumble.
    The Criteria tab with a lower and upper limit set on a response and a range strip below it
    The Criteria tab. Each response gets its own lower and upper limits. The strip below shows the observed range with the chosen limits marked in red and the in-limit band shaded yellow.
  3. Repeat for every response you care about. A response with no limits set does not constrain the plot at all, so only fill in the ones that matter.

The strip beneath the fields is a quick sanity check. It draws the response range your experiment actually produced, marks your lower limit with a ≥ and your upper limit with a ≤, and shades the band between them yellow. If your limits sit right at the edge of the observed range, or outside it, that is worth noticing before you read the overlay. If you type a lower value above an upper value by mistake, the software quietly swaps them so the band still makes sense.

Predicted mean, or a confidence bound. By default the yellow region is judged from the predicted mean of each response. Tick Use interval (one-sided) and OptiGein Design instead requires the response to stay inside its limit with 95% confidence, using the one-sided confidence bound on the mean. That is a stricter test, so the yellow region shrinks. It is the honest choice when you want settings that will hold up in practice, not just settings where the best guess happens to be in spec.

Read the overlay

Switch to the Graphs tab. The overlay plot fills most of the page, with a Factors Tool panel on the right. Two axes carry two of your factors; every other factor is held fixed. For the two factor example, A: HPMC E15 and B: Glycerol Ester go straight onto the axes and nothing is held.

An overlay plot with a yellow feasible region, grey infeasible region, coloured boundary curves and red design points
The overlay plot for the worked example. Yellow is the operating window where both Disintegration Time and Hardness meet their limits; grey is out of spec. The coloured curves are the individual limit boundaries, and the red dots are your design runs.
What you seeWhat it means
Yellow regionEvery response stays inside every limit you set. Any settings in here satisfy all of your requirements at once.
Grey regionAt least one response fails at least one limit. You do not have to know which one; grey simply means out of bounds.
Coloured boundary curveThe line where one response is exactly equal to one of its limits. Cross it and that response tips over the edge. Each active limit gets its own colour, and the same colour keys the legend in the info panel on the left.
Red dotsYour actual design runs that lie in the plane being shown. They tell you whether your operating window is near real data or out in extrapolated territory.

Each boundary curve carries a small label naming the response and the limit value, so you can tell at a glance which edge of the yellow region belongs to which requirement. The left panel lists the same limits with their colour swatches, the factors on the two axes, and the fixed value of any held factor.

Hover to read exact numbers. Move the pointer anywhere inside the plot and a small read-out follows the cursor, showing the factor values at that spot and the predicted value of every response there. It is the quickest way to check how much headroom a candidate setting has before it reaches a boundary.

When you have more than two factors

You can only draw two factors on the axes, so a design with three or more factors is shown as a slice: a flat cut through the factor space at fixed values of everything not on the axes. The Factors Tool panel gives you an X1 axis and X2 axis selector to choose which two factors to plot, and a slider for each remaining factor to set where the slice is taken. Its actual value updates beside the slider as you drag.

Moving a slider re-cuts the plane, and the yellow region grows, shrinks or shifts as you go. This is the point of graphical optimization with many factors: the operating window is not one fixed shape, it depends on where the held factors sit. Slide through them to find the combination that gives you the most generous window. The red design points also change, because only the runs that actually lie in the current slice are drawn.

When there is no yellow region

Sometimes the whole plot is grey. That is information, not a failure. It means no setting in the region you are looking at can satisfy all of your limits together. Before you give up, try these in order.

An empty window means your targets are fighting each other. Two responses often pull in opposite directions, so tightening both at once can leave nothing that meets everything.
Keep the picture. Right-click the overlay plot to copy it or export it as an image. It is a clear way to show a colleague or a report exactly where the safe operating window sits.