What is a soft constraint? When the optimizer pushes back
Author:

When a fixed income optimization won't return a solution, the constraint set is usually asking for too much at once. This article explains how soft constraints let a bound flex at a price you set, and how to read the results once it solves.
This article is part of SimCorp's practitioner's guide to fixed income optimization. Read the full whitepaper for the complete framework.
Getting a fixed income optimizer to return a solution is one thing. Knowing how to get a strong one when it pushes back, and reading what it's telling you once it solves, is another. Soft constraints are what make that possible: they let a bound flex at a price you set, so the optimizer keeps finding strong solutions even as conditions tighten. Pairing that with a disciplined results review, reading a constraint status report and other diagnostics after every run, is what keeps the process sharp over time.
Managing the complexity of hard constraints
A hard constraint is a line the optimizer cannot cross. In a complex fixed income problem with hundreds (or even thousands) of inequalities to satisfy, the cumulative effect of too many hard constraints can be a complete distortion of the alpha signal or even worse, an infeasible problem.
Soft constraints are the practical answer. Rather than treating a bound as absolute, a soft constraint allows the optimizer to violate it if the improvement in the objective value justifies the cost (sometimes referred to as the “penalty”). The manager sets the penalty per unit of violation explicitly; the optimizer then weighs whether breaching the bound is worth it. A hard outer limit can still be imposed to cap how far the violation can go, giving the manager both flexibility and control.
The discipline is in deciding which constraints get hardened and which get softened. Non-negotiable limits, such as regulatory requirements, compliance rules, and absolute risk ceilings, are hard. Constraints that are "nice to have" but not structurally essential are candidates for softening. A turnover budget is a common example: a manager might be comfortable with 30 percent two-way turnover as a norm, willing to stretch to 40 percent if the alpha improvement warrants it but unwilling to go beyond that under any circumstances. That maps directly to a soft bound at 30 percent, a hard outer limit at 40 percent, and a penalty coefficient calibrated to reflect the cost of the additional trading activity.
Calibrating penalty coefficients is more art than science. A useful approach is to run a frontier of optimizations across a range of penalty values and observe how the solution changes: how much constraint violation occurs, what happens to the objective, and where the tradeoff stabilizes. This also produces a reusable reference for future rebalancing cycles.
Reading the output
Getting the hard/soft split and the penalty calibration right is only half the job. The other half is checking, once the optimizer has run, whether that setup actually did what it was meant to. A trade list and a set of final portfolio weights are the minimum viable output from an optimization. A well-run systematic process produces considerably more. Ideally, it should provide summary statistics such as the portfolio's market value, number of names, and the amount of turnover due to the proposed trade list. It should also highlight key risk measures, such as duration and tracking error.
A constraint status report is another vital diagnostic piece. For every constraint, it shows the initial and final realized values, the bound, and, for soft constraints, the violation amount. Two patterns are worth watching for:
- Binding constraints indicate where the optimizer ran out of room. A constraint that is consistently binding across multiple rebalancing cycles may be too tight for the investment universe or may be interacting with another constraint in a way that wasn't intended. It warrants a deliberate review, not just an acceptance that "the optimizer always hits that bound."
- Slack constraints are the opposite problem: a constraint that never binds. As covered in What an optimizer makes possible in fixed income, that usually means it's too loose to matter or redundant given other constraints already in place. Either is fine, but it should be intentional.
The transfer coefficient as a health check
The transfer coefficient measures the correlation between the constrained optimal portfolio and the unconstrained one. In plain terms, how much the constraint set as a whole is diluting the manager's ability to express their alpha signal. A value of 1 means constraints have had no effect; a value approaching 0 means the final portfolio bears little resemblance to what the alpha signal alone would have produced.
A low transfer coefficient isn't automatically a problem. A tightly risk-controlled strategy is expected to have a lower transfer coefficient than a less tightly constrained one. What matters is whether the value is consistent with the strategy design, and whether it is stable over time. A transfer coefficient that drops sharply from one rebalancing to the next without a corresponding change in the constraint set is a signal worth investigating. It often indicates that market conditions have shifted in a way that is putting unexpected pressure on the strategy.
The importance of structured review
The value of a systematic optimization workflow is only fully realized if the review step is treated as a core part of the rebalancing process. It’s not uncommon for configurations to be taken for granted. Constraints once made aren’t regularly reviewed, penalty coefficients set once get forgotten, trade lists get approved without further question, and so on.
Building a structured review into each rebalancing cycle (constraint status, tracking error decomposition, flagged trades, active position weights) creates an audit trail that can be used for future refinements to the strategy. That auditability, as much as the optimality of any individual portfolio, is the long-run case for going systematic.
Related content

