Explainable Template Retrieval for Faster Optimization Modeling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The conventional process of generating optimization models is inefficient and requires significant human intervention, particularly due to the need for operations research experts, which limits accessibility and efficiency.

Innovation Solution

An explainable template retrieval system that uses natural language processing to generate optimization models from problem specifications, incorporating a refined query generator, template retriever, and explanation generator to create context-grounded explanations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a conventional process involving human experts is used to generate optimization models, then model accuracy and expertise are improved, but time consumption and resource requirements increase significantly

Engineering Contradiction:
Improvemodel accuracyVSAvoidtime consumption
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system enables non-expert users to independently generate optimization models by providing natural language processing capabilities and pre-built templates. Users can describe their problems in natural language and the system automatically generates appropriate optimization models without requiring human expert intervention, thus reducing time consumption while maintaining model quality through automated expertise embedding in templates

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system pre-processes and structures optimization problem templates in advance, organizing common optimization patterns, constraints, and objectives into reusable template formats. This preliminary structuring allows the system to quickly assemble accurate optimization models by combining pre-validated template components with user-provided problem details, reducing both time consumption and resource requirements

Inventive Principle:
Principle #10Preliminary action

2Reliability

If operations research experts are required to create optimization models, then model quality is improved, but accessibility and ease of operation deteriorate

Engineering Contradiction:
Improvemodel qualityVSAvoidaccessibility
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The system empowers non-expert users to independently create optimization models by eliminating the need for operations research experts. Users can describe their problems in natural language and the system automatically generates optimized models using embedded expertise in templates and algorithms, making the technology accessible to anyone with a problem description regardless of their expertise level

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system replaces the mechanical process of human expert analysis and model creation with automated natural language processing and template-based generation. Instead of requiring human experts to manually analyze problems and construct models, the system uses AI to process user inputs and automatically generate optimization models, thereby improving accessibility while maintaining model quality through structured templates

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Reliability

If multiple iterations of questioning and validation are performed, then model satisfaction is improved, but productivity and efficiency decrease

Engineering Contradiction:
Improvemodel satisfactionVSAvoidmodeling efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The system performs preliminary validation and structuring of optimization models automatically during the generation process. By pre-organizing templates with proper constraints, objectives, and decision variables, and by automatically validating user inputs against template requirements, the system reduces the need for multiple iterative validation cycles while maintaining high model satisfaction and improving productivity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system provides automated feedback to users during the model generation process, identifying missing information, suggesting appropriate template selections, and validating problem descriptions against optimization requirements. This real-time feedback mechanism reduces the need for multiple iterative questioning and validation cycles by guiding users to provide complete and accurate problem descriptions in fewer attempts

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20250348479A1Methods and systems for explainable template retrieval for optimization modeling
Publication Date: 2025.11.13 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • US20250348479A1 patent drawing
  • US20250348479A1 patent drawing
  • US20250348479A1 patent drawing

AI summary

Methods and systems for context-grounded, incremental generation of an optimization model are described. Natural language contextual information of an optimization problem is received. A structured model summary data structure is updated by retrieving templates for model components, each of the one or more templates being retrieved using a respective refined query generated from the contextual information. A base model template is retrieved using the structured model summary data structure as a query. A symbolic model associated with the base model template is updated by retrieving additional templates for additional model components, each of the templates being retrieved using a respective additional refined query. The symbolic model is updated using symbolic content associated with each of the retrieved templates. The symbolic model is outputted as a generated optimization model.