Leveraging Large Language Models for Solving Rare MIP Challenges

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Teng, Yu, Wing-Yin, She, Ruifeng, Yang, Wenhan, Chen, Taijie, Zhang, Jianping
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929503078449152
author Wang, Teng
Yu, Wing-Yin
She, Ruifeng
Yang, Wenhan
Chen, Taijie
Zhang, Jianping
author_facet Wang, Teng
Yu, Wing-Yin
She, Ruifeng
Yang, Wenhan
Chen, Taijie
Zhang, Jianping
contents Mixed Integer Programming (MIP) has been extensively applied in areas requiring mathematical solvers to address complex instances within tight time constraints. However, as the problem scale increases, the complexity of model formulation and finding feasible solutions escalates significantly. In contrast, the model-building cost for end-to-end models, such as large language models (LLMs), remains largely unaffected by problem scale due to their pattern recognition capabilities. While LLMs, like GPT-4, without fine-tuning, can handle some traditional medium-scale MIP problems, they struggle with uncommon or highly specialized MIP scenarios. Fine-tuning LLMs can yield some feasible solutions for medium-scale MIP instances, but these models typically fail to explore diverse solutions when constrained by a low and constant temperature, limiting their performance. In this paper, we propose and evaluate a recursively dynamic temperature method integrated with a chain-of-thought approach. Our findings show that starting with a high temperature and gradually lowering it leads to better feasible solutions compared to other dynamic temperature strategies. Additionally, by comparing results generated by the LLM with those from Gurobi, we demonstrate that the LLM can produce solutions that complement traditional solvers by accelerating the pruning process and improving overall efficiency.
format Preprint
id arxiv_https___arxiv_org_abs_2409_04464
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Leveraging Large Language Models for Solving Rare MIP Challenges
Wang, Teng
Yu, Wing-Yin
She, Ruifeng
Yang, Wenhan
Chen, Taijie
Zhang, Jianping
Computation and Language
Artificial Intelligence
Machine Learning
Optimization and Control
Mixed Integer Programming (MIP) has been extensively applied in areas requiring mathematical solvers to address complex instances within tight time constraints. However, as the problem scale increases, the complexity of model formulation and finding feasible solutions escalates significantly. In contrast, the model-building cost for end-to-end models, such as large language models (LLMs), remains largely unaffected by problem scale due to their pattern recognition capabilities. While LLMs, like GPT-4, without fine-tuning, can handle some traditional medium-scale MIP problems, they struggle with uncommon or highly specialized MIP scenarios. Fine-tuning LLMs can yield some feasible solutions for medium-scale MIP instances, but these models typically fail to explore diverse solutions when constrained by a low and constant temperature, limiting their performance. In this paper, we propose and evaluate a recursively dynamic temperature method integrated with a chain-of-thought approach. Our findings show that starting with a high temperature and gradually lowering it leads to better feasible solutions compared to other dynamic temperature strategies. Additionally, by comparing results generated by the LLM with those from Gurobi, we demonstrate that the LLM can produce solutions that complement traditional solvers by accelerating the pruning process and improving overall efficiency.
title Leveraging Large Language Models for Solving Rare MIP Challenges
topic Computation and Language
Artificial Intelligence
Machine Learning
Optimization and Control
url https://arxiv.org/abs/2409.04464