• Moges
  • 2026-03-22

Technical Insights | From Probability to Certainty: An Analysis of Moges' New Generation Hybrid Intelligent Scheduling Architecture

[Summary]

In the face of complex, rigid constraints and dynamic disturbances in industrial environments, the probabilistic generation mechanism of general large language models (LLMs) inherently has limitations. The latest generation APS engine from Moges abandons the "end-to-end generation" approach and establishes a Edge-side small model semantic interaction + cloud-based solver for global optimal solution The hybrid architecture. This document details how this architecture uses mixed integer programming (MIP) to solve the time and space constraints of outsourcing logistics in machining scenarios, enabling industrial-grade deterministic scheduling.Technical Insights | From Probability to Certainty: An Analysis of Moges' New Generation Hybrid Intelligent Scheduling Architecture


I. Industry Pain Points: Why are general large models difficult to implement for industrial scheduling?

In early technical research, we tested an end-to-end scheduling solution based on a 72B parameter large model. While it performed exceptionally well in natural language understanding, it revealed three fatal flaws in the core scheduling task, making it unable to meet the requirements of industrial production.CertaintyAndExecutabilityStringent requirements:

  1. Hallucination Risk: The model may fabricate non-existent idle time windows for equipment or create fictitious process paths, leading to unexecutable plans.

  2. Uncertainty Output: The same input conditions result in inconsistent results in different inferences, undermining the credibility of the production plan.

  3. Calculate delays and costs: The minute-level inference latency makes it impossible to respond to the workshop's second-level on-demand requirements, and the high computing costs make it difficult to scale deployment.

Conclusion:Industrial scheduling is essentiallyConstraint Satisfaction Problem (CSP)WithCombination Optimization Problem, must rely on mathematical solvers rather than probabilistic models.


II. Architectural Evolution: Moges' "Hybrid" Dual-Engine Mode

Moges's new architecture will...Perception LayerWithManagement teamDecoupling, to fully leverage the strengths of both types of AI:

1. Interactive Layer: Edge LLM (Small Model on the Edge)

  • Model Selection: Based on Qwen-2.5B Perform knowledge distillation and Int4 quantization.

  • Deployment Environment: Supports single-card consumption-grade graphics cards (such as RTX 3060) or edge computing box deployments.

  • Core Functions:

    • Intent Recognition: Accurately parse and interpret the ambiguous natural language instructions provided by dispatchers (e.g., "prioritize urgent orders," "consider outsourcing logistics").

    • Structured Conversion: Convert unstructured text into standard JSON constraint objects in real-time, with latency control of 200ms Internally.

    • Zero training costs: Adapts to different factory terminology systems through Prompt Engineering, without requiring fine-tuning.

2. Decision-makers: Mixed Integer Programming (MIP) Solver

  • Core Engine: Based on a deep customization of Google OR-Tools CP-SAT solver.

  • Core Functions:

    • Global Optimal Search: Traverse billions of solution spaces within milliseconds to seconds, finding the optimal solution that satisfies all hard constraints.

    • Guaranteed accuracy: Input remains unchanged, output is absolutely consistent, eliminating any possibility of hallucination.

    • Complex Constraint Modeling: Native support for complex industrial logic, including multi-resource mutual exclusion, sequential dependency preparation time, and batch merging.


Three. Core Breakthrough: Modeling the Time and Space of Machine Processing Outsourcing and Logistics

Addressing the most challenging issues in the machine manufacturing industryInternal Capacity OverutilizationWithUncertainty regarding outsourcing logisticsProblem: Moges has developed sophisticated mathematical models:

1. Dynamic Overflow Decision Mechanism

The system no longer pre-defines fixed outsourcing rules, but instead introduces binary decision variables. xijxij , where the solver automatically weighs based on real-time load:

min⁡Z=∑(Cint⋅xint+Cext⋅xext+Pdelay⋅tdelay)minZ=∑(Cint⋅xint+Cext⋅xext+Pdelay⋅tdelay)

  • CintCint : Internal overtime/retooling costs

  • CextCext : External processing costs + Two-way logistics costs

  • PdelayPdelay : Late delivery penalty coefficient

Effect: The system automatically calculates the cost balance point between "internal overtime work" and "sending out for outsourcing," achieving global cost optimization.

2. End-to-end time and space folding model

Reject the imprecise "fixed-day" estimates. We break down outsourced processes into precise time window constraints:

Ttotal=Tout_trans+Tqueue_vendor+Tprocess+Tin_trans+TqcTtotal=Tout_trans+Tqueue_vendor+Tprocess+Tin_trans+Tqc

  • Dynamic Queue Simulation: Based on historical delivery data from suppliers, dynamically estimate Tqueue_vendorTqueue_vendor .

  • Synchronize delivery time windows: Accurately calculate the time for dispatch and return, ensuring that the material return time aligns precisely with the available window for the internal production line, thereby avoiding situations where "materials wait for people" or "people wait for materials."


4. Verified data and performance benchmarks

In a pilot project with a precision component manufacturing company (over 200 CNC machines, with an average of 500+ operations per day), the new architecture outperformed both the previous heuristic algorithm and the pure LLM solution. The results are as follows:

Table

Key Performance IndicatorsLegacy heuristic algorithmsPure LLM-generated solutionMoges Hybrid Architecture
Algorithm PrincipleGreedy StrategyProbabilistic GenerationConstraint Programming (CP-SAT)
Feasibility Rate82% (requires manual adjustment)100% (Directly issued)
Average response time2.5 Seconds> 120 seconds0.4 Seconds
External logic accuracyStatic, fixed cycleLogical fallacy/HallucinationDynamic Spatio-Temporal Chain Modeling
Hardware resource consumptionLowUltra High (A100 multi-card cluster)Low (single-board/edge device)

V. Conclusion: Returning to the Essence of Industry

Moges' technical approach demonstrates that true industrial software intelligence lies not in simply accumulating parameters, but inMathematical abstraction capabilities for business scenarios.

By leveraging the collaborative approach of "small models understanding human language and solvers providing accurate solutions," we have successfully combined the interactive advantages of large language models with the decision-making capabilities of optimization algorithms. This not only solves the long-standing industry problem of "black box outsourcing," but also provides discrete manufacturing with a comprehensiveExplainable, Trustworthy, and ImplementableThe deterministic scheduling solution.

About Moges
Moges is dedicated to providing the next generation of intelligent APS solutions for discrete manufacturing companies worldwide. We are not intended to replace human experts, but rather to provide them with a god-like perspective that goes beyond their experience.



Professional mold, automation parts manufacturing industry management software
Small and Medium-sized Enterprise ERP, MES, and MRP Solutions
Trade Inventory SaaS Management System, Linux Email Server Solution

Tel: 18625220688

Solutions

Mold Manufacturing Digitalization
Focused on mold shop production management, significantly shortening delivery cycles
ERP Systems for the Sheet Metal Industry
End-to-end management of laser cutting, bending, and welding
Custom Automation Equipment Management
Integrated quotes, production progress, and cost accounting
Tooling & Fixture Management Systems
Fully digital control of the inspection fixture production process

Resource Downloads

MES Whitepaper

In-depth Guide to Mold Manufacturing Execution Systems

Product Documentation

Moges PMS System Feature Guide

FAQ

Answers to all your questions

Contact Us

Now
Talk to Us

14 years of industry experience, focused on the digital transformation of mold, sheet metal, and custom automation equipment manufacturing

186 2522 0688

Headquartered in Kunshan, with on-site service within a 2-hour radius

Contact
Product & Service Inquiry

Free Online Consultation on Products & Solutions

Get a Quote

FAQ

Q: Is this mixed intelligent scheduling solution only suitable for large factories?
A: No. Quite the opposite. The edge-side small model is specifically designed for small and medium-sized businesses – it can run on a consumer-grade GPU or an edge device, without the need to rent computing power or set up servers. The real computing power is used by the cloud-based solver, but it only processes one order at a time and doesn't run continuously, consuming resources. Even factories with dozens of devices can use it.

Q: Can the small model understand the jargon used in our factory?
A: This step does not require retraining the model. The scheduler said, "Prioritize urgent orders" and "coordinate with external vendors," relying on aligning the terminology within the prompts. Changing the terminology simply involves modifying the prompts, not retraining the model. For factories without an algorithm team, this is a significant time and cost saving.

Q: What should I do if the plan generated by the solver is rejected by the technician?
A: This architecture combines "small models understanding human language and solvers providing accurate solutions." The experience of workshop technicians is not replaced, but rather becomes constraints that are fed into the system. For example, specifying which machines cannot be scheduled tonight, or which orders must be processed first, allows the system to generate a plan that aligns with the actual needs of the factory. This makes the plan understandable and actionable, which the technicians can easily understand and implement.

Q: Outsourcing is prone to errors; can the system effectively monitor and control this?
A: Yes, and it does so with greater precision than a human. The system breaks down external processing into five stages: outbound logistics, supplier queuing, processing, return shipping, and quality inspection. It also takes into account the historical number of times a supplier has delayed, as well as the average queuing time. The most important aspect is to align the points where materials return to the factory with the points where internal production lines are available, preventing situations where "materials are waiting for machines" or "machines are waiting for materials."

Q: What are the first noticeable changes you see after implementing this scheduling system?
A: It's not about speed, but about stability. Even with the same set of orders, whether they are scheduled today or tomorrow, the results will be the same. The workshop doesn't need to be repeatedly modified, and sales can directly provide customers with delivery dates. The most direct impact is felt by the workshop. The feasibility of the pilot plan, which previously relied on manual adjustments at around 80%, can now be calculated and directly issued, and the response time for new orders has also changed from minutes to seconds.

Latest News

Online Subscription