NuPBO
A local search solver for Pseudo-boolean Optimization
Install / Use
/learn @filyouzicha/NuPBOREADME
NuPBO
NuPBO is a local search solver for solving the Pseudo-Boolean Optimization (PBO) problem. It is developed based on the LS-PBO solver [2] and shares the same instance format, which is the weighted conjunctive normal form (wecnf).
Compilation
To compile NuPBO, navigate to the source_code directory and run the make command.
Usage
NuPBO requires two mandatory parameters:
- The first parameter is the PBO instance file.
- The second parameter is the seed value.
We utilize runsolver to execute NuPBO. Please refer to starexec_runsolver.sh script for more details. This script takes three arguments:
- Argument 1: The PBO instance file.
- Argument 2: Seed value.
- Argument 3: Runtime limit in seconds.
Here is an example of running NuPBO using the starexec_runsolver.sh script:
./starexec_runsolver.sh ./2club200v15p5scn.wecnf 2 10
Opb2wecnf Conversion
The opb2wecnf_source_code folder contains a program for converting standard OPB format files to the corresponding wecnf format.
Output Explanation
- The output starting with 'o' represents the sum of weights of unsatisfied soft clauses in the wecnf format.
- 'c realmin' corresponds to the objective function value in the original OPB file.
- The output starting with 's' represents the solution in the OPB format, which corresponds one-to-one with the wecnf format.
For more details, please refer to the original paper:
[1] Yi Chu, Shaowei Cai, Chuan Luo, Zhendong Lei, Cong Peng: Towards More Efficient Local Search for Pseudo-Boolean Optimization. CP 2023: 12:1-12:18.
[2] Zhendong Lei, Shaowei Cai, Chuan Luo, Holger H. Hoos: Efficient Local Search for Pseudo Boolean Optimization. SAT 2021: 332-348
Related Skills
node-connect
350.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
