Share this
Constraint-Based Configuration in CPQ: Why It Is the Right Choice for Complex Manufacturing
by Elfsquad on May 29, 2024 2:45:59 PM
In manufacturing, configuring products to match customer needs while keeping the process efficient and error-free is one of the hardest problems to solve. The more options your products have, the harder it becomes to manage what can and cannot be combined. There are three main approaches to handling this in CPQ software: attribute-based, rule-based, and constraint-based configuration.
Attribute-based and rule-based methods share the same fundamental limitation: they require you to define everything that is possible. For simple products with a limited number of options, that works. But for manufacturers with complex, highly variable products, the number of possible combinations grows faster than any team can realistically define and maintain. The result is a system that forces you to simplify your products just to keep the configuration logic manageable. That is where your competitive advantage starts to erode.
Constraint-based configuration solves this by flipping the logic. Instead of defining what is possible, you define what is impossible. For manufacturers whose products have vast numbers of valid combinations, that distinction changes everything. It is the only method that scales with your product complexity rather than against it.
What Is Attribute-Based Configuration and When Does It Work?
Attribute-based configuration lets users customize products by selecting specific features or attributes from a predefined set. Think of it as laying all the puzzle pieces on the table and methodically fitting them together to form the complete picture of your product.
For simple products, this works well. Take a T-shirt with a fixed set of sizes, colors, and prints. The number of combinations stays manageable, and because all possible combinations are explicitly defined, it also supports stock management through SKUs. When you know every possible combination, you can discount configurations where you have overstock and adjust delivery times when stock levels are insufficient for a specific variant.
The limitation becomes clear as products grow more complex. A T-shirt has a small puzzle. An industrial weigher unit does not. When the number of options increases, the number of possible combinations grows exponentially. As shown in the comparison between a simple T-shirt and a complex industrial product, the number of possibilities quickly outpaces what any team can reasonably define and maintain. For complex manufacturing products, attribute-based configuration becomes unmanageable.
Figure 1. A visual representation of attribute-based configuration for available options of a T-shirt.
Figure 2. A visual representation of attribute-based configuration for available options of an Industrial Weigher Unit.
Explanation: The more complex the product, the greater the number of available options. There are far more possibilities than impossibilities, therefore, this becomes an inefficient way of defining your options.
What Is Rule-Based Configuration and Where Does It Fall Short?
Rule-based configuration builds on the attribute-based approach by adding a visual interface and a set of predefined rules that guide users through the configuration process. Instead of defining every combination explicitly, rules determine which options can connect based on specific criteria, similar to a flowchart that guides you through possible paths toward a final configuration.
This makes rule-based configuration more flexible and easier to navigate than attribute-based methods. For products with moderate complexity, where decision paths are relatively clear, it works well. It also handles situations that are not strictly linear, which attribute-based methods struggle with.
The limitation is the same underlying problem: you are still defining what is possible, just in a more structured way. Consider a blue-colored hat that can be combined with multiple T-shirt options. In a rule-based system, you have to define every path to every valid combination. For a product like that, it already becomes inefficient. For a complex manufactured product with hundreds of interdependent options, it becomes impossible to maintain. The more complex the product, the more labor-intensive and brittle the system becomes.
Figure 2. A visual representation of rule-based configuration for available options of a T-shirt.
Figure 3. A visual representation of rule-based configuration for available options of a T-shirt and a matching Hat.
Explanation: Due to the fact that a Blue-Colored Hat can be combined with multiple options for T-shirts, the attribute-based configuration method is no longer an efficient way to define these options, nor the rule-based method where you’re required to define the paths to all possible options,
What Is Constraint-Based Configuration and Why Is It Better for Complex Products?
Constraint-based configuration works differently from the ground up. Instead of defining what is possible, it defines what is impossible. For manufacturers whose products have vast numbers of valid combinations, this is a fundamentally more efficient approach.
Most complex manufactured products are configurable because so much is possible, not because so much is restricted. Trying to map all those possibilities into an attribute or rule-based system forces you to simplify your product in ways that hurt your competitive position. Constraint-based configuration eliminates that problem. You define the constraints, and the system automatically determines what is valid.
Consider the same T-shirt and hat example. In a constraint-based system, instead of mapping every path to every valid combination, you simply define the incompatible combinations. The system handles everything else. The result is a configuration method that scales with your product complexity rather than against it.
This approach offers three clear advantages for complex manufacturing:
-
Every valid configuration is available without having to define it explicitly
-
Errors are prevented at the source, not caught after the fact
-
Product rules and product details stay separate, making the system easier to maintain and scale as your product range evolves
Sign Up for Our Newsletter
Why Does Elfsquad Use Constraint-Based Configuration in Its CPQ Software?
Elfsquad built its product configurator on constraint-based configuration from the start, because it is the only method that does not force manufacturers to compromise on what makes their products unique.
Attribute-based and rule-based systems indirectly push manufacturers toward simpler products. When you have to define every possible combination, the natural response is to reduce the number of options. Constraint-based configuration removes that pressure. Your product complexity becomes a manageable system rather than a liability.
Central to this is Elfsquad's AI solver, Archer. Archer evaluates all the constraints you have defined and finds the optimal configuration in real time. It works like a puzzle master that knows exactly which pieces can go where, so every configuration that comes out is valid and production-ready.
Elfsquad has since developed Archer 2.0, which goes further. Traditional constraint-based configurators validate configurations based on the constraints you input. Archer 2.0 does not just validate. It immediately determines and presents the best configurations and optimal routes in real time, without waiting for user input to work through the options. It makes the configuration process faster, smarter, and more accurate at scale. That is what next-level AI optimization looks like when it is built on a solid constraint-based foundation.
Figure 3. A visual representation of constraint-based configuration for available options of a T-shirt and a matching Hat.
Explanation: When it comes to highly-complex products, constraint-based configuration is the only method which allows you to efficiently manage all possible options (and their paths) by defining what's not possible instead of what is,
Which Configuration Method Is Right for Your Business?
The right method depends on the complexity of your products:
-
Attribute-based works for simple products with a small, fixed set of options and manageable combinations, particularly useful when you need SKU-based stock management
-
Rule-based works for products with moderate complexity where decision paths are clear and the number of rules stays manageable
-
Constraint-based works for complex, highly variable products where most combinations are valid and only a small set of constraints define what cannot be done
Attribute-based and rule-based configurations are not inferior methods. They are simply better suited to other use cases. For manufacturers competing on customer-specific solutions, where product variation is a strength and not an exception, constraint-based configuration is the foundation that keeps sales, engineering, and production working from the same accurate logic.
Build a Configuration System Your Team Controls
Constraint-based configuration in Elfsquad CPQ is designed to be managed by your own team. Product managers and engineers define the rules. The system handles the complexity. And as your products evolve, the configuration logic evolves with them, without needing consultants or custom development to keep it current.
Want to see it in action? Schedule a demo and we will show you how constraint-based configuration works for your specific product range.



