xzymustbexzy / Chain-of-Experts

Official implementation of the paper "Chain-of-Experts: When LLMs Meet Complex Operation Research Problems"
28 stars 4 forks source link

Chain-of-Experts: When LLMs Meet Complex Operation Research Problems

Requirements

  1. Clone the repository

    git clone https://github.com/xzymustbexzy/Chain-of-Experts.git
  2. Install the necessary dependencies provided in the requirements.txt.

    pip install -r requirements.txt

Run the experiments

Firstly, set the environment variable OPENAI_API_KEY

export OPENAI_API_KEY=[Your API key here]

Run the experimental script

python run_exp.py --dataset LPWP --problem "prob_.*" --algorithm coe

Usage

Dataset

The LPWP dataset is uploaded in this repo.

Please note that the ComplexOR dataset is still in the review stage, and we have uploaded a raw version of the ComplexOR dataset. The formal 37 datasets mentioned in the paper will be released soon.

Citation

@inproceedings{
xiao2024chainofexperts,
title={Chain-of-Experts: When {LLM}s Meet Complex Operations Research Problems},
author={Ziyang Xiao and Dongxiang Zhang and Yangjun Wu and Lilin Xu and Yuan Jessica Wang and Xiongwei Han and Xiaojin Fu and Tao Zhong and Jia Zeng and Mingli Song and Gang Chen},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=HobyL1B9CZ}
}