coin-or / coin-or/pulp

Examples with Solver Callbacks

Open
#443 5 comments 0 reactions 0 assignees View on GitHub
docs
Dominant language
Python
Stars
2.5k
Forks
432
PR merge metrics
No merged PRs in 30d

Description

Hi !

I am a big fan of PuLp and use it (almost) every day. I think it would be great if there were some examples showing how to use User Callbacks, such as Lazy Constraints or User Cuts.

This is done in the Jump package (Julia) for example, as shown in the docs [here](https://jump.dev/JuMP.jl/v0.12/callbacks.html).

I think this is possible, as per [this conversation](https://groups.google.com/g/pulp-or-discuss/c/gaDOaCdUSiQ/m/jjYPuqgbS0MJ) in pulp-or-discuss.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the linked pulp-or-discuss conversation and the JuMP callback documentation to determine which solver callbacks PuLP supports. Done means adding clear examples for lazy constraints and user cuts, with any necessary usage limitations documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.