Skip to content

1D Cutting · CSP1D: Scope and Learning Path ​

Material has an available width and orders require products of different widths. Select cutting plans and their usage counts to satisfy demand, with configurable material, machine, production-deviation and waste rules.

Minimum Vocabulary ​

ConceptAPIRoleKey Fields
Product and demandProduct / ProductDemandInputWidths, optional length, quantity and demand mode
Material and machineMaterial / MachineInputWidth, batches, machines and optional resource limits
Cutting planCuttingPlanIntermediateProduct contribution per execution
ProblemCsp1dProblemInputDomain data and solve configuration
Solving and outputCsp1dMilp / Csp1dColumnGenerationEntry / validationPlan usage, production, demand satisfaction and enriched metrics
Production resultCsp1dSolutionOutputPlan usage, per-execution contribution, shortfall, remaining width and KPIs

Variables count plan usage, not product output. Production is the sum of contributions times usage. Roll, sheet, length and weight demands are not interchangeable.

Missing Is Not Zero Waste

An absent remaining width means it could not be calculated from the data/arithmetic, not zero remaining width. Supply product data for weight/length demand; unknown weight is not 0 kg.

Entry Points ​

Kotlin and Rust Entry Points

Both languages offer ordinary MILP and column generation, with different adapters, result types and configuration. Learn ordinary solving before initial plans, LP, pricing, column addition and final integer solving.

Business HTTP DTOs, tenancy, formula languages and runtime policy belong in the business adapter, not the reusable kernel.

Use Csp1dMilp when a small candidate pool is easy to inspect; consider Csp1dColumnGeneration as width combinations grow. Bound initial plans, new plans per round and iterations. There is no universal order-count threshold; see the same-input switch.

Boundaries ​

  • Identify product, quantity and unit together; do not collapse heterogeneous demand into a bare number.
  • Machine data alone does not enable every capacity constraint. Check plan resource consumption and configuration.
  • An insufficient initial pool may require a feasibility phase. Restricted-pool infeasibility is not full-problem infeasibility.
  • Heuristic or bounded pricing termination does not automatically prove integer optimality.

Learning Path ​

  1. Complete environment setup.
  2. Follow your first slitting plan, checking how plans contribute production.
  3. Add overproduction bounds, shortage penalties, waste and length configuration, then consider custom pipelines.
  4. Read framework example 3 and its context models for composition and column generation.

For LP, MILP, pricing and other algorithm terms, see the terminology guide.

Reference ​

Back to scenario selection

Continue Practicing ​

Next: Your First Slitting Plan. Then explore Demand Units and Business Rules. Before adapting the scenario to your application, complete the business integration checks.