1. Introduction and motivation
In operations research and engineering, mathematically modeling specific problems for computer-aided analysis and solution finding is a major challenge (Reference Domschke, Drexl, Klein and SchollDomschke et al., 2015). This requires both a deep understanding of the problem and knowledge of mathematical methods for efficient modeling. Practical feasibility with computer tools and the speed of finding solutions are key concerns (Kumar, Reference Kumar1992; Russell and Norvig, Reference Russell and Norvig2010).
In production engineering, determining whether a specific component can be manufactured is complex (Pahl et al., Reference Pahl, Beitz, Feldhusen and Grote2007; Wawer et al., Reference Sheveleva, Herrmann, Wawer, Kahra, Nürnberger, Koepler, Mozgova, Lachmayer and Auer2023; Groche et al., Reference Groche, Bruder and Gramlich2017). This requires formalizing manufacturing capabilities and linking them to component geometric models (Reference GembarskiGembarski, 2020). Components are produced through coordinated processes in a manufacturing chain, making holistic modeling essential, as analyzing individual processes in isolation is insufficient (Herrmann et al., Reference Herrmann, Brockmöller, Gembarski, Mozgova and Lachmayer2021, Reference Wawer, Herrmann, Plappert, Wurst, Gembarski and Lachmayer2023a). Many studies on manufacturability focus on near-net-shape components, overlooking emergent constraints (Albrecht and Anderl, Reference Albrecht and Anderl2016; Nellippallil et al., Reference Nellippallil, Rangaraj, Gautham, Singh, Allen and Mistree2018; Anjum et al., Reference Anjum, Harding, Young and Case2012). This research gap is addressed by Herrmann et al. (Herrmann et al., Reference Wawer, Herrmann, Plappert, Wurst, Gembarski and Lachmayer2023a) through the Portfolio of Capability Constraint Network (PCCN), which frames manufacturability analysis as a configuration problem of manufacturing stages. This configuration problem is formulated as a Constraint Satisfaction Problem (CSP) (Herrmann et al., Reference Wawer, Herrmann, Plappert, Wurst, Gembarski and Lachmayer2023b). However, the PCCN includes many variables with big domains which lead to an extensive solution space that needs to be searched. In addition, it contains a large number of constraints, many of which are com-pex n-ary constraints that represent the real relationships within the manufacturing process. This means that the PCCN presents a challenge for existing algorithms like constraint propagation, backtracking, and forward-checking, and leads to long program runtimes. There are two ways to overcome these challenges: (1) developing a specialized solution algorithm using heuristics and a problem-specific approach, and (2) reducing problem complexity through a more solver-friendly formulation for use with existing algorithms (Reference BessièreBessière, 1999).
This article presents design guidelines and heuristics for modelling a PCCN in order to reduce problem complexity and create an optimised representation for solution algorithms. Modellers are methodically supported and the efficiency of problem solving is increased. Validation is based on a use case that investigates the manufacturability of a multi-material shaft using tailored moulding technology. The generalised problem formulation of the PCCN enables the findings to be transferred to other components and process chains. The PCCN complexity is analysed scientifically, while the practical contribution offers applicable guidelines and heuristics for reducing the complexity of the problem.
2. Research background
2.1. Constraint satisfaction problems
In constraint programming, problems are defined as Constraint Satisfaction Problems (CSP), where variables, domains and constraints are described declaratively (Reference DechterDechter, 2003). Sequencing or configuration problems often require an abstraction of the original problem (Brailsford et al., Reference Brailsford, Potts and Smith1999; Gemabarski, Reference Gembarski2022). CSPs belong to the NP complexity class, which leads to large search spaces for practically relevant problems (Bulatov, Reference Bulatov2017; Zhuk, Reference Zhuk2020). Algorithms such as backtracking are supplemented by constraint propagation and heuristics to maintain local consistencies (Wegener, Reference Wegener2005; Reference Russell and NorvigRussell and Norvig, 2010). Examples of this are forward checking and maintaining arc consistency (MAC) (Sabin and Ereuder, Reference Sabin and Ereuder1997; Jussien et al., Reference Jussien, Debruyne and Boizumault2000). Local search algorithms such as the Minimum Conflict Algorithm also play a role (Reference Clark, Frank, Gent, MacIntyre, Tomov and WalshClark et al., 1996). However, global inconsistencies can only be recognised late, which makes the solution more difficult (Reference Galinier and HaoGalinier and Hao, 2004). Well-known algorithms such as AC-3 are effective for binary CSPs (Mackworth, Reference Mackworth1977; Ruttkay, Reference Ruttkay1998), while n-ary constraints with non-linear expressions, which frequently occur in practical problems, lead to high complexity (Bessière, Reference Bessière1999; Lhomme and Regin, Reference Lhomme and Régin2005). Generalised Arc Consistency (GAC) and Hyperarc Consistency (HAC) extend the AC family for n-ary constraints, but remain computationally intensive (Regin, Reference Regin1996; Bergenti and Monica, Reference Bergenti and Monica2017). In addition to more efficient algorithms, there are remodelling approaches for reducing problem complexity (Apt, Reference Apt2003; Marriott and Stuckey, Reference Marriott and Stuckey1998). These include: (1) Binary transformations that convert each CSP into a binary CSP with constant expressive power (Reference Rossi, Petrie and DharRossi et al., 1990), e.g. through dual or hidden transformations (Dechter and Pearl, Reference Dechter and Pearl1989; Bacchus et al., Reference Bacchus, Chen, Van Beek and Walsh2002). (2) SAT transformations in which variables and constraints are converted into Boolean problems and powerful SAT solvers are used (Petke, Reference Petke2015; Walsh, Reference Walsh2000). (3) Tabulation and regularisation, in which substitutable subproblems are identified and converted into efficiently solvable table or regular constraints (Akgün et al., Reference Akgün, Gent, Jefferson, Miguel, Nightingale and Salamon2018; Trick, Reference Trick2003). These approaches offer targeted speed advantages, but require additional effort for the transformation.
2.2. Portfolio of capability constraint network
The PCCN is a constraint-based modeling approach that aims to connect the idealized solution space of a component with the real solution space of manufacturing. This model enables the analysis and optimization of the manufacturability of a component design along an entire manufacturing process chain. By explicitly modeling a manufacturing process chain, the PCCN allows for the consideration of emergent manufacturing constraints and thus differs from related work.
To model a PCCN, information about the manufacturing process chain that will be used to manufacture the component is required in addition to the component design considered (Herrmann et al., Reference Wawer, Herrmann, Plappert, Wurst, Gembarski and Lachmayer2023a). For this, the process parameter windows that lead to the production of high-quality products must be sufficiently known. In addition, the manufacturing process chain must be mastered, i.e., the process behavior must be predictable (Reference Sheveleva, Herrmann, Wawer, Kahra, Nürnberger, Koepler, Mozgova, Lachmayer and AuerSheveleva et al., 2023). Modeling a PCCN can be divided into five phases:
1. Analysis of the Process Chain: The first phase consists of analyzing the manufacturing process chain to identify all subprocesses, process parameters, production stages and available resources such as machines or tools.
2. Grouping of Process Containers: In the second phase, all recorded entities in the form of sub-processes, process parameters, production stages, and resources are grouped into process containers. The PCCN divides a manufacturing process chain into independent process containers that describe the transformation of manufacturing steps. A process container can be thought of as a black box into which a production step enters and a transformed production step exits.
3. Parameterization: In the third phase, parameters are created to abstract the incoming and outgoing production stages, the resources involved, and the necessary process parameters for constraint-based modeling based on the process containers. These parameters are the variables of the PCCN and are then completed with a domain assignment.
4. Modeling the Transformative and Restrictive Constraints: In the fourth phase, transformative and restrictive constraints are formulated for the process containers. The transformative constraints link all the parameters of the incoming and outgoing production stages of the process container, and thus describe the transformation of a production stage within a process container. Restrictive constraints limit the possible values of the production stage parameters, and thus describe the production capabilities of the equipment used.
5. Merging the Constraint Network: In the final stage, the transformative and restrictive constraints of all process containers are combined to form a constraint network.
The modeling of a process container is demonstrated using the example of a friction welding process (see Figure 1). Friction welding is a welding process in which two cylindrical components are moved relative to each other under pressure. The resulting friction causes the contact surfaces to heat and the material to plasticize. The geometric shape of the two cylindrical input components can be mathematically described by a diameter d
1 and d
2, as well as a length l
1 and l
2. The same applies to the initial components joined with d
3 and l
3. The geometry of the weld bead, which is usually created, is neglected here because it is usually turned off immediately after friction welding. In addition, the length loss Δlbead
due to bead formation and a bead formation ratio φ
bead
, which divides the length loss over the lengths of the input components
$\varphi _{bead} = {{\Delta l_{1,bead} } \over {\Delta l_{2,bead} }}$
, are added as process variables. In friction welding, the two diameters of the input components must be equal (d
1 = d
2). Since the diameters of the components do not change during friction welding, they can be modeled as constant throughout the process (d
1 = d
3 and d
2 = d
3). To calculate the length l
3 of the joined component, the lengths of the input components l
1 and l
2 can be added and the length loss can be proportionally subtracted Δlbead
. If the bead formation ratio φ
bead
is 1, the weld bead is formed only from the first component. At a ratio of 0, it is formed only from the second component, and at a ratio of 0.5, both components contribute equally to the formation of beads (l
3 = (l
1 − (ϕ
bead
* Δlbead
) + (l
2 − (ϕ
bead
* (1 − Δlbead
))). Finally, a process window is formulated for the diameters and lengths using minimum and maximum values that can be realized by a specific friction welding machine. Within the process window, a specific travel Δlmove
of the friction welding machine is also required (l
1 + l
2 + Δlmove
> lmin
, l
1 + l
2 + Δlmove
< lmax
, d
3 > dmin
and d
3 < dmax
).

Figure 1. Process container friction welding
The data structure of this process container can be seen as part of (Herrmann et al., 2024). Each variable has a name, a domain, that is assigned to it and an optional comment. The domain consists of one, multiple or a range of numbers. Each constraint has a number as a specific ID, a list of the involved variables and the constraint-equation which are the important information for the CSP. In addition, each constraint has a source indicating whether it is a manufacturing restriction or a transformation. This information can be used for optional conflict solving, which is not discussed further here. Each constraint also has a comment and a process to which the constraint belongs. This is information that helps the user to understand what the constraint represents.
After modeling, general solution algorithms for CSPs can be used to search for a consistent configuration of all production steps. The PCCN is primarily not a replacement for production planning, such as creating work schedules or setup plans. The purpose of the PCCN is to help designers identify and resolve production conflicts early. The goal is to shorten development cycles between design and production planning, increase the efficiency of the product development process, and provide a better basis for production planning.
3. Problem analysis and challanges
The general structure of a PCCN is methodically supported by modeling techniques. However, this approach does not necessarily lead to a solver-compatible representation of the PCCN. The complexity of the CSP of a PCCN depends strongly on the modeled manufacturing process chain. For practical applications, this complexity exceeds the complexity of many academic benchmark problems, such as the Send-More-Money problem (Reference NareyekNareyek, 2001) or the Sudoku problem (Reference SimonisSimonis, 2005). A PCCN combines several challenges for the solution process.
-
As the complexity of the components and manufacturing steps considered in the PCCN increases, so does the number of parameters required to describe the geometries fully. Depending on the application, this leads to many variables in the CSP. In addition, a high degree of flexibility in the domains is required to cover a manufacturing process’s high degrees of freedom. For example, considering the cutting of profile bodies, a 100 mm can be cut to any length between 1 mm and 99 mm, depending on the increment. The domain must contain the entire range as an interval. A large number of variables paired with large interval domains leads to a large search space, which must be checked when searching for a solution.
-
In practice, manufacturing processes often involve complicated transformations of components that are nonlinear and difficult to model. For example, in impact extrusion, the formability of a part depends on several factors, including the blank geometry, the forming path, and the shape of the extrusion die. Mathematically describing these processes requires complicated nonlinear constraints that represent the behavior of the part under different conditions. In the case of impact extrusion, constraints on volume constancy, degree of deformation, and yield stress can be combined to model the process (Reference Lange, Kammerer, Pöhlandt and SchöckLange et al., 2008).
-
In addition, the description of the complicated component transformations leads to constraints with a large number of bounded variables. This results in a non-bijective mapping of the transformations and a highly constrained and meshed CSP. As a result, the solution of one constraint often depends on the solutions of other constraints. This increases the complexity of the solution search since changes in one point of the mesh can affect other parts.
-
This interdependence of constraint solutions is reinforced by the procedural structure of the PCCN. It has a globally directed structure that refects the sequential flow of production processes, but the local interactions between variables are represented by undirected edges. This means that the constraints of one process cannot be solved independently of the constraints of the other processes.
Against the background of the inherent complexity and specific problems of a PCCN, a differentiated and critical consideration of the applicability of remodeling approaches proves to be essential for an efficient search for solutions.
When transforming a PCCN into a binary CSP, the transformed domains grow exponentially with the large solution space and n-ary constraints, leading to high time complexity and memory consumption since the large solution space is explicitly modeled in the binary transformation (Reference TsangTsang, 1995). Converting a PCCN into an SAT problem results in a large, complex SAT instance due to non-linear constraints, which require additional variables and statements, complicating solvability. Both binary and SAT solvers typically require transforming the entire problem, making the transformation effort often greater than solving the original CSP.
Tabularization and regularization can convert parts of a CSP into a more efficient representation. Since a PCCN is a highly interconnected CSP, identifying substitutable partial CSPs is challenging. The process-related representation of a manufacturing process chain means sub-CSPs cannot be considered independently, as they depend on each other sequentially. Therefore, solving them directly is impossible without redesigning the entire CSP. In a PCCN with many variables and large domains, tabulating partial CSPs results in enormous tables, which are impractical to create and store for many manufacturing process chains. Introducing regular constraints through regularization is an efficient way to reduce the complexity of constraints. A PCCN often contains various non-linear expressions in the constraints due to the complex mapping of component transformations. Describing these complicated relationships between variables with regular constraints is extremely difficult, if not impossible, without simplifying or omitting key aspects of the problem.
As shown by (Reference WallaceWallace, 2005), heuristics can contribute to a faster solution of a CSP. However, at a certain complexity of the CSP such as the PCCN these conventional heuristics which can be used for any CSP do not contribute enough to reduce the duration of the solution search sufficient enough.
In summary, the challenges of a PCCN make the mentioned transformation methods impractical or inefficient. Moreover, transformations reduce human readability and clarity of process relationships and must be repeated whenever the PCCN is extended or adapted, leading to high modeling costs. While it is theoretically possible to model the PCCN as a special form of a CSP (regular, table, binary, or Boolean), this complicates the modeling process to the point of impracticality. Typically, the goal is to model a constraint problem as freely and closely to the application as possible (Reference LöfflerLöffler, 2022). Since transforming a PCCN into another formulation does not lead to a more efficient solution search, complexity reduction can only occur at the same representation level. This requires examining the explicit formulation of variables and constraints in a solver-friendly way and developing problem-specific heuristics for a more efficient solution search.
4. Design guidelines and heuristics
Due to the large solution space of a PCCN, the use of constraint propagation algorithms is necessary, since otherwise, a search algorithm must examine, in the worst case, n variables with k elements each in the domain of kn assignments of variables to search the search space for a consistent solution (Mackworth, Reference Mackworth1977; Brailsford et al., Reference Brailsford, Potts and Smith1999). In the case of the PCCN with its n-ary constraint, the constraint propagation algorithm must also be able to propagate hyperedges(Regin, Reference Regin1996). The GAC algorithm can be used for this purpose. If r describes the maximum arity of a constraint, e the number of constraints, and d the maximum number of elements in a domain, the time complexity of the GAC algorithm is O(e * r * dr ) (Reference LecoutreLecoutre, 2008). The main challenge in this context is the increased computational complexity, which is influenced by e, r and d. These parameters are determined by the mathematical formulation of the problem and can be reduced by clever problem formulation. Therefore, the following design guidelines support the reduction of computational complexity. The specific challenges of a PCCN are addressed. The table 1 summarizes all design guidelines with examples.
1. When modeling component transformations across multiple manufacturing processes, the parameters of one component may be not changed. In this case, the parameters are passed from one manufacturing step to the next using the “=” operator. This type of modeling causes the number of constraints to increase. This situation can be resolved by combining parameters that remain the same across multiple production stages into a common variable (see table 1 (1)). This reduces the number of constraints (e) that need to be checked and analysed, thus speeding up the solution search process.
2. When manufacturing constraints are integrated directly into the PCCN by numerical value, unary constraints are created. An example is the integration of a critical strain ϕ > 0.7. Such unary constraints can be considered directly in the domains of the variable involved (see table 1 (2)). This also reduces the number of constraints (e). At the same time, however, the domains (d) are also restricted in advance, which reduces the search space.
3. Especially with complicated component transformations, many variables influence a constraint, which leads to high articity. This articity is exponentially included in the time complexity of the GAC algorithm. Therefore, in many cases, it makes sense to divide long constraints with many variables into several smaller constraints using auxiliary variables. Although this increases the number of variables and constraints, the exponential influence of articity (r) can be reduced (see table 1 (3)). This reduces the recursive loops in the solution search.
4. When mapping the transformations from one production stage to the next, the transformation must be fully defined. This means that all parameters of the involved production stages must be included in at least one constraint. If a parameter is not constrained, it is irrelevant to the transformation and can be removed (see table 1 (4)).
5. Due to the partially non-linear expressions within constraints, calculations can lead to real results, e.g. log(4) ≈ 0.60206. However, a PCCN, as a finite CSP, is not able to map real numbers due to the incremental division of the domains. This can mean, for example, that an equality between a domain value and a real number can never be satisfied, ∀a ∈ {0.5,0.6,0.7} → a ≠ log(4). For many manufacturing processes, the transformations can also be approximated. This means that equality relations with real numbers can also be simplified by rounding (a ≈ log(4)) or a tolerance range (a > log(4) * 0.9 > a < log(4) * 1.1) (see table 1 (5)).
6. The interval-like mapping of domains results in a large search space of a PCCN. Therefore, when modeling domains, care must be taken to keep the intervals as narrow and application-oriented as possible (see table 1 (6)). This reduce the maximum number of domain entries (d).
Table 1. Design Guidelines.

In addition to the design guidelines, two PCCN-specific heuristics can be used to make the solution process more efficient.
1. Due to the procedural nature of the PCCN, the assignments of variables build on each other. This means that a PCCN can be solved particularly efficiently if the individual production stages are configured in the inverse direction, i.e., starting with the last production stage n, through production stage n−1 to the first production step 1. This can be implemented by sorting the variables in descending order by their production stage affiliation. This avoids inconsistent configurations of the upstream production stages, which can lead to unresolvable conflicts that are only detected at a later stage.
2. Sorting is also useful for the order of constraints. First and foremost, constraints should be sorted according to their process container affiliation, such as variables in descending production direction. Within the process containers, the restrictive constraints should be checked for consistency before the transformative constraints, since a transformation is only possible if the production capabilities allow it.
Both heuristics can either be considered manually during modeling or implemented automatically using known sorting algorithms. The application of the design guidelines and the PCCN-specific heuristics leads to a significant increase in the efficiency of the solution process. This is demonstrated in the following use case.
5. Use case study
Tailored forming is an innovative manufacturing technology for producing solid components like shafts or gears from different materials. This technology and multi-material design enable highly efficient components (Ashby and Cebon, Reference Ashby and Cebon1993; Herrmann et al., Reference Herrmann, Bode, Wurst, Gembarski, Mozgova and Lachmayer2022). Tailored forming follows a multi-stage manufacturing process chain of joining, forming, and final processing. In this application example, the specific manufacturing process for a multi-material shaft is instantiated as a PCCN. The process begins by turning a cone and counter-cone in two mono-material cylinders, e.g., steel alloys (20MnCr5 or 100Cr6) and aluminum alloy EN AW 6082 (see figure 2). These conical shapes increase the joining surface and strengthen the joint. Next, the parts are joined by friction welding. The hybrid semi-finished product is then thermomechanically processed via extrusion. Finally, machining shapes the shaft and optimizes edge zones and surfaces. Additional functional elements, such as key or retaining ring grooves, are integrated at this stage.

Figure 2. Process Chain for the manufacturing of a multi-matial shaft
By section 2.2, the manufacturing process chain was modeled as a PCCN using application-oriented constraints. The specific PCCN modeling was published in (Herrmann et al., 2024) and is not discussed further here. The design guidelines from the table 1 were then applied, and the PCCN was remodeled. Table 2 provides examples. Six variables were merged as they represent a constant diameter across multiple processes (guideline (1)). Additionally, a variable’s domain was adjusted to a more application-relevant range (guideline (6)). Finally, guideline (5) was applied to determine the angled part’s length after impact extrusion using a finite domain representation. The optimized PCCN of the manufacturing process chain was also published in (Herrmann et al., 2024) for transparency of the results.
Table 2. Remodeling of the PCCN

The table 3 shows a comparison between the original and the optimized PCCN. The PCCN could be reduced by ten variables and constraints due to the more efficient representation method. This restricts the solution space by 19 powers of ten and reduces the mathematical complexity of the problem.
Table 3. Comparison between the statistics of the non-optimized and optimized PCCN

To quantify this efficiency gain, both PCCNs are solved using a constraint solver. The solver works in two stages and combines constraint propagation in preprocessing and a subsequent solution search using a forward-checking algorithm. Since the instantiated PCCN receives n-ary constraints, the GAC algorithm is used for constraint propagation and as a consistency check in forward-checking. In preprocessing, the computational time is analyzed and the extent to which the GAC algorithm can constrain the solution space is investigated. In forward-checking, only the time it takes to find a solution to the problem is measured. The two presented heuristics were applied in both the original and the optimized representation. For transparency, both representations have been published under (Herrmann et al., 2024). The results of the comparison are shown in the table 4.
Table 4. Solving the non-optimized and optimized PCCN

The results show that constraint propagation with the GAC algorithm is significantly faster with the optimized PCCN. This is due to the reduced solution space since fewer parameter combinations need to be tested. The GAC algorithm reduces the solution space by six powers of ten in the non-optimized representation and by four powers of ten in the optimized representation. With forward-checking, a solution was found after 7878.8 seconds for the non-optimized representation and after 664.8 seconds for the optimized representation. This corresponds to a runtime reduction of about 92%, demonstrating the efficiency gains through remodeling.
6. Summary and outlook
This paper demonstrates how the Portfolio of Capability Constraint Network (PCCN) enables the modeling and analysis of complex manufacturing networks by formulating a constraint satisfaction problem. However, these models have high problem complexity due to many n-ary constraints and a large solution space, which poses a challenge to solution algorithms. To reduce this problem’s complexity, different remodeling approaches from the literature for CSPs were investigated and compared to the specific challenges of solving a PCCN. None of the investigated remodeling approaches represent a practical and efficient problem formulation. Therefore, specific design guidelines and heuristics were developed to reduce the problem complexity of a PCCN. The application of the design guidelines was investigated in the example of the production of a multi-material shaft using tailored forming technology which leads to a significant increase in the efficiency of the solution search.
The results of this paper not only make a scientific contribution by analyzing the characteristics and challenges of solution finding within a PCCN, but also provide practical guidelines for efficient redesign for constraint-based manufacturing networks. While the focus of the use case is on manufacturability analysis, the method and guidelines, together with the PCCN, could be used for all kinds of configuration and optimisation problems in design and manufacturing. In future research, a constraint propagation algorithm will be developed that uses heuristics and a problem-specific approach to establish path consistency in a PCCN, thus reducing the complexity of the problem for subsequent solution methods.
Acknowledgments
The results of this publication have been developed within the framework of the Collaborative Research Center 1153 “Process Chain for the Manufacture of Hybrid High-Performance Components by Tailored Forming” within the subproject C02. The authors would like to thank the German Research Foundation (DFG) for financial and organizational support of the project (project number: 252662854).