A print farm does not usually fail because nobody knows how to press “start.”

It fails in smaller, duller, more expensive ways. One plate carries too few parts. Another job needs manual rearrangement. A failed object ruins the economics of a batch. The slicer accepts a layout that looks reasonable, until sequential printing reminds everyone that the print head is not a ghost and cannot pass through already printed objects. Reality, inconveniently, still has geometry.

That is the useful starting point for Pavel Surynek’s paper, Portfolio of Solving Strategies in CEGAR-based Object Packing and Scheduling for Sequential 3D Printing.1 The paper is not about making a 3D printer faster by magic. It is about a more practical question: when sequential 3D printing creates a hard packing-and-scheduling problem, can a modern multi-core CPU improve the result by running several solver strategies at once and selecting the best schedule?

The answer is yes, with boundaries. The proposed method, Portfolio-CEGAR-SEQ, extends an existing CEGAR-based sequential printing algorithm by combining multiple object-ordering rules and placement tactics. The important business result is not that the solver looks more sophisticated on paper. It is that, in the tested sub-optimal multi-plate setting, richer strategy portfolios often use fewer printing plates.

For a hobbyist, one saved plate is pleasant. For a print farm, lab, repair shop, prototyping team, or small-batch manufacturer, one saved plate can mean less operator handling, less machine occupancy, fewer fragmented jobs, and a lower chance that a boring scheduling mistake becomes the day’s bottleneck. Glamorous? No. Useful? Unfortunately, yes.

Sequential printing is not ordinary plate packing with a nicer name

In standard FDM 3D printing, objects are printed layer by layer together. Several objects can sit on the same build plate, and the printer gradually raises the whole scene one slice at a time. In sequential printing, the printer completes one object before moving to the next.

That one change turns a layout problem into a robotics problem.

Once the first object is finished, it becomes an obstacle. The print head, extruder, gantry, cables, and other moving parts must avoid colliding with it while printing later objects. The system must decide not only where objects should sit, but also in what order they should be printed. The paper formalizes this as SEQ-PACK+S: sequential object packing and scheduling.

The core requirements are easy to state and hard to satisfy together.

Requirement What it means in practical terms
Plate placement Every object must fit within the printing plate.
Print order Objects must be assigned a sequential order.
Non-collision Later print-head movements must avoid already printed objects.
Traversability The extruder must be able to move in and out without hitting finished geometry.
Multi-plate scheduling If the batch cannot fit on one plate, the remaining objects must be scheduled on additional plates.

The last point is where the business meaning starts to appear. If a solver can fit the same batch onto fewer plates, it may reduce the number of print jobs, setup cycles, and manual decisions. The metric is not abstract elegance. It is plate count.

That is also why a purely visual “looks packed enough” approach is dangerous. Sequential printing is not only two-dimensional nesting. Object height matters because taller completed objects create more collision risk. Object ordering matters because a good first object in ordinary packing may be a bad first object in sequential printing. Placement bias matters because objects pushed toward the center create different remaining space and collision geometry than objects pushed toward a corner.

The search space is not just large. It is annoyingly structured.

CEGAR-SEQ solves by adding pain only when pain appears

The original CEGAR-SEQ algorithm approaches SEQ-PACK+S by translating the problem into a linear arithmetic formula solved by an SMT solver, specifically Z3 in the implementation discussed by the paper.

The CEGAR part stands for Counterexample Guided Abstraction Refinement. In plain English: do not model every expensive geometric constraint upfront. Start with a simpler version of the problem, ask the solver for a candidate arrangement, then check whether the candidate violates constraints that were initially omitted. If it does, add the violated constraint and solve again.

This is not laziness. It is disciplined laziness, which is often the only kind that scales.

Step Mechanism Why it matters
Build abstraction Encode a simplified linear arithmetic model. Avoids overloading the solver immediately.
Solve candidate Ask the SMT solver for object positions and ordering. Produces a possible schedule.
Check geometry Detect whether polygons or extruder envelopes violate collision constraints. Finds the missing hard constraints.
Refine formula Add only the violated constraints. Grows the model where the actual candidate failed.
Repeat Continue until a valid solution is found or infeasibility is shown. Uses solver effort more selectively.

The important correction is this: Portfolio-CEGAR-SEQ is not primarily a new low-level solver. It does not win by heroically parallelizing tiny internal operations inside a search algorithm. The paper explicitly frames that kind of fine-grained parallelism as often unattractive for exponential search problems.

Instead, the new method parallelizes at a higher level. It runs multiple CEGAR-SEQ variants with different heuristics. Then it chooses the best resulting schedule.

That difference matters. In business language, this is not “make the worker think faster.” It is “send several competent workers to try different plans, then use the best plan.” Crude? Maybe. Effective? Often.

The portfolio is built from two kinds of diversity

Portfolio-CEGAR-SEQ creates multiple composite strategies. Each composite strategy combines one object ordering with one placement tactic.

The paper uses four orderings:

Ordering Meaning
Height-Min-to-Max Consider objects from shortest to tallest.
Height-Max-to-Min Consider objects from tallest to shortest.
Height-Random Use a random height-based ordering.
Height-Input Preserve the input order.

The reason height appears here is not cosmetic. In sequential printing, object height strongly affects future collision risk. A short object and a tall object with similar footprints can create very different constraints for the print head after they are completed.

The paper also uses five placement tactics:

Tactic Placement bias
Center Place objects toward the center of the plate.
Min-X-Min-Y Bias toward one corner.
Max-X-Min-Y Bias toward another corner.
Min-X-Max-Y Bias toward another corner.
Max-X-Max-Y Bias toward another corner.

The original CEGAR-SEQ used the center-oriented tactic. That makes physical sense because heated beds often have more uniform behavior near the center. But the paper notes that enclosed modern printers and improved heated-bed designs make corner-oriented tactics worth testing.

Here the portfolio logic becomes clear. A center tactic may create robust placement in one instance. A corner tactic may pack better in another. A tallest-first ordering may avoid some later collision traps. A shortest-first ordering may leave more workable space. There is no universal winner because the interaction between object shape, height, order, plate size, and extruder geometry is instance-specific.

Combining four orderings and five tactics gives 20 composite strategies. Portfolio-CEGAR-SEQ runs these variants in parallel and selects the best schedule according to the chosen objective, especially the number of printing plates used.

This is the paper’s central mechanism: diversity is moved from managerial rhetoric into solver execution.

The solver comparison supports the foundation, not the headline

The paper first compares the underlying solving paradigms: Z3 as an SMT solver versus Gecode as a CSP solver. This is not the main portfolio result. It is a foundation test: if the base formal model is better served by one solver paradigm, the portfolio should be built on that stronger base.

The experiment uses random cuboids on a 200 mm × 200 mm plate, with cuboid dimensions randomly drawn from 8 to 64. The number of cuboids ranges from 1 to 32, with 100 random instances for each object count and a one-minute timeout.

The result is straightforward: Z3 dominates Gecode in this setup. Gecode becomes virtually unable to solve instances above roughly 25 cuboids within the timeout, while Z3 reaches approximately 30 cuboids. The paper also notes that Z3 works over rational-domain variables, while Gecode uses a finite-domain millimeter resolution, making the SMT result more accurate in this formulation.

This test should not be overread. It does not prove that SMT is always better than CSP for every manufacturing geometry problem. It shows that, for this SEQ-PACK+S formulation and the tested random cuboid setup, Z3 is the stronger base solver.

Experiment Likely purpose What it supports What it does not prove
Z3 vs Gecode on random cuboids Solver-level comparison Z3 is a better foundation for this formulation under the tested timeout. SMT universally beats CSP in all packing or printing systems.
Runtime comparison across portfolio sizes Overhead and feasibility check Richer portfolios cost more wall-clock time, but the paper judges the increase acceptable even for 20 strategies. Parallel portfolios are free or always cheap on every machine.
Average plate count by portfolio Main evidence for practical benefit Combined portfolios often use fewer plates, especially for smaller object counts. The method reaches global optimality.
Histogram of objects per plate Diagnostic explanation More complex strategies tend to place more objects on each plate. Every individual job will improve.
30-part visual example Illustrative case Portfolio-CEGAR-SEQ can save a plate in a concrete benchmark example. The 7-to-6 plate reduction is a universal average.

That distinction is important because the existing article version was directionally right but a little too smooth. The paper is not merely saying “parallel strategies outperform single heuristics.” More precisely, it shows that high-level strategy portfolios improve a sub-optimal CEGAR-SEQ scheduling setup in a multi-plate scenario, while the solver-level comparison explains why Z3 remains the underlying engine.

A small difference, yes. Also the difference between analysis and brochureware.

The plate-count result is the operational result

The portfolio experiment uses a different benchmark: 3D printable parts for the Original Prusa MK3S printer. The benchmark contains 34 diverse objects. The tested object counts range from 1 to 64; for each count, 100 instances are created by selecting random objects from the benchmark, allowing repeats. The plate size is 250 mm × 210 mm.

The algorithm is run in a sub-optimal mode. Objects are scheduled in groups of size $k = 4$. Each group is scheduled optimally, but the full batch is not globally optimized end to end. That boundary is not a footnote-level detail. It controls how the result should be interpreted.

Why use a sub-optimal grouped mode at all? Because full global optimization is expensive. The grouped version gives a faster practical method for larger batches, especially when multiple plates are allowed. If the next objects do not fit on the current plate, the remaining objects move to a fresh plate.

That is the operational setting: not “solve one perfect mathematical jewel,” but “schedule a batch quickly enough that an operator might care.”

The paper evaluates four strategy setups:

Portfolio setup Composition Interpretation
Center Original center tactic with input ordering Baseline CEGAR-SEQ behavior.
Ordering Four object orderings with Center tactic Tests ordering diversity alone.
Tactic Five placement tactics with input ordering Tests placement diversity alone.
Combined Four orderings × five tactics = 20 strategies Tests full portfolio diversity.

The main finding is that richer portfolios often reduce the average number of plates. For smaller numbers of objects, the richer the portfolio, the fewer plates are used. The Combined portfolio performs best. The Tactic portfolio contributes more than Ordering alone, while the combination of ordering and tactic shows synergy. As object counts grow, Combined still improves over the original CEGAR-SEQ, although its advantage over the Tactic-only portfolio diminishes.

That pattern is more interesting than a simple “bigger portfolio wins” claim.

It suggests that placement tactics do much of the immediate work. Moving objects toward different corners changes the usable geometry of a plate. Ordering adds another axis of variation. Combining both gives the solver more chances to avoid local packing traps. But as the batch grows and multiple plates become unavoidable, the marginal advantage of trying all combinations becomes less dramatic compared with trying several placement tactics.

This is exactly what a good applied optimization paper should reveal: not just that a trick works, but where the trick’s marginal value starts to thin out.

The 7-to-6 plate example is a useful illustration, not the whole result

The most visually memorable result in the paper compares three schedules for 30 printer parts:

Scenario What the figure shows
Standard parallel printing Objects printed in conventional simultaneous layer-by-layer style.
Sequential CEGAR-SEQ Sequential schedule using 7 plates.
Portfolio-CEGAR-SEQ Sequential schedule using 6 plates.

The one-plate reduction is easy to understand, which makes it tempting to treat it as the headline. It should be treated as an illustration.

The stronger evidence is the average plate-count comparison across many random benchmark instances, plus the histogram showing that more complex portfolios tend to place more objects per plate. The figure makes the result tangible; the experiment gives it weight.

Still, the illustration matters because it translates a solver result into operator language. A saved plate is not an abstract percentage. It is one fewer build surface to prepare, monitor, clear, and possibly rerun. It is also one fewer unit of scheduling fragmentation.

A manager does not need to admire SMT solving to understand that.

The real lesson is high-level parallelism, not brute-force parallelism

A common misreading would be: modern CPUs have many cores, so the algorithm simply runs faster.

That is not quite the paper’s message.

The portfolio may increase wall-clock runtime by multiple times as more composite strategies are added. The paper reports that the increase remains acceptable even for the 20-strategy Combined portfolio, but it is not zero-cost parallelism. The benefit comes from better solution quality, not from pretending that parallel hardware eliminates computational expense.

The better interpretation is this:

  1. Sequential printing has many plausible heuristics.
  2. No single heuristic dominates across all object batches.
  3. Modern CPUs can afford to run several of them concurrently.
  4. The system selects the best feasible schedule after the attempts complete.
  5. The resulting schedule often uses fewer plates.

This is a portfolio algorithm in the same broad spirit as portfolio methods in SAT solving and planning: when a problem class is heterogeneous, strategy diversity can outperform monolithic cleverness.

For manufacturing AI, that is a useful design pattern. Many operational problems have awkward instance variation. Warehouse slotting, cutting-stock decisions, production sequencing, vehicle loading, repair batching, and inspection scheduling all contain local geometries that punish one-size-fits-all heuristics. A portfolio approach can be attractive when the cost of running several strategies is smaller than the operational cost of accepting a mediocre schedule.

The business inference is not that every factory should immediately deploy Portfolio-CEGAR-SEQ. The inference is that optimization systems should often be designed around controlled strategic diversity rather than a single default heuristic wearing a crown.

Crowns are expensive. Also, they fall off.

What this directly shows, and what Cognaptus infers

The paper directly shows several things.

First, the existing CEGAR-SEQ framework can be parameterized by object ordering and placement tactics. This turns the original method into a family of related strategies rather than a single fixed solver behavior.

Second, running these strategies as a portfolio can improve schedule quality in the tested sub-optimal multi-plate setting. The practical quality measure is the number of plates used.

Third, strategy components are partly orthogonal. Ordering and placement tactics affect the result in different ways, and their combination can be stronger than either alone.

Fourth, the Z3-based SMT formulation outperforms the tested Gecode CSP formulation on the random cuboid experiment.

Cognaptus’ business interpretation is more cautious but still useful: for organizations using sequential printing or similar manufacturing scheduling systems, strategy portfolios may offer a practical route to better utilization without requiring a complete reinvention of the solver. The method uses existing compute more intelligently by spending CPU cores on alternative planning assumptions.

The uncertain part is deployment economics. The paper does not provide a production cost model, operator-time measurement, energy study, printer-farm throughput simulation, or integration benchmark inside publicly available slicer workflows. It shows that fewer plates are often achievable under the tested conditions. The ROI depends on how much a saved plate is worth in a specific operating environment.

In a print farm that already has idle CPU capacity but limited operator time and machines, the trade-off may be attractive. In a tiny shop where jobs are small, manual intervention is cheap, and printer utilization is low, the value may be modest. Context, as usual, arrives late and ruins the universal claim.

Boundaries that matter before using the result

The paper’s limitations are not fatal, but they are practical.

The first boundary is optimality. The key multi-plate experiments use a sub-optimal grouped mode with $k = 4$. That makes the method faster, but it also means the algorithm is not proving global optimality for the full batch. In practice, this may be a perfectly reasonable compromise. But the result should be read as “often better schedules under a practical bounded approach,” not “mathematically optimal plate usage.”

The second boundary is benchmark scope. The printer-parts benchmark is relevant and concrete, but it is still one benchmark family. Different objects, different extruder envelopes, unusual materials, support structures, adhesion constraints, or production rules may change the effectiveness of particular tactics.

The third boundary is integration. The paper states that CEGAR-SEQ has been integrated as part of Prusa Slicer 2.9.1, while Portfolio-CEGAR-SEQ is written in C++ but not currently integrated into publicly available slicing software. That matters because a method can be technically compelling and still wait in the hallway while product integration does the paperwork.

The fourth boundary is rotation. The paper identifies direct handling of object rotation in the formal model as future work. Rotation is a major degree of freedom in packing problems, so its absence limits the current formulation’s expressiveness.

The fifth boundary is portfolio design. The tested portfolio uses a fixed set of orderings and tactics. A production system might want adaptive portfolios: learn which strategies work for which object families, plate sizes, materials, or printer models. The paper opens that door, but does not walk through it.

A better way to read the paper

The most useful reading is not “AI optimizes 3D printing.” That sentence is true in the same way that “finance uses numbers” is true: technically correct, intellectually underemployed.

A better reading is this: sequential printing creates a coupled geometry-and-scheduling problem where a single heuristic can leave plate capacity unused. CEGAR-SEQ already gives a disciplined formal solver pipeline. Portfolio-CEGAR-SEQ adds high-level strategic diversity by running multiple object-ordering and placement variants in parallel. The business-facing benefit appears when that diversity reduces plate count enough to matter operationally.

That is the mechanism. Everything else is decoration.

The paper also illustrates a broader pattern for applied AI and optimization. Many real-world systems do not need a mythical best algorithm. They need a reliable way to try several plausible strategies, compare their outputs, and choose the one that creates the least operational waste. This is especially true when hardware parallelism is available and the cost of a poor schedule is visible in machines, people, and time.

In that sense, Portfolio-CEGAR-SEQ is not just a 3D-printing algorithm. It is a small case study in how industrial AI often advances: not by replacing the factory with intelligence, but by removing one stupid constraint at a time.

The printer still melts plastic. The operator still checks the plate. The machine still obeys geometry. But the scheduling layer becomes less single-minded, and that is where the saved plate appears.

Not revolutionary. Better than revolutionary: deployable, once someone does the integration work.

Cognaptus: Automate the Present, Incubate the Future.


  1. Pavel Surynek, “Portfolio of Solving Strategies in CEGAR-based Object Packing and Scheduling for Sequential 3D Printing,” arXiv:2603.12224, 2026. https://arxiv.org/abs/2603.12224 ↩︎