[Python] How to tell PULP_CBC_CMD to report the first feasible solution

Discussão em 'Python' iniciado por Stack, Fevereiro 8, 2025.

  1. Stack

    Stack Membro Participativo

    I found a way to set the relative gap and max time for this pulp solver:

    https://coin-or.github.io/pulp/technical/solvers.html

    (see the section about pulp.apis.PULP_CBC_CMD)

    However, the R version of CBC allows to set an option such that the solver reports the first feasible solution (it's called maxso in rcbc), but I can't see it here.

    Does anyone have any idea where I could find any documentation about it?

    It was already extremely difficult to find the above webpage in the pulp documentation, but the option I am looking for is not there, and regarding 'additional options' it only says:


    options (list) – list of additional options to pass to solver
    ​

    Then what these additional options are, and how they can be set up, I am at a complete loss finding it out.

    Continue reading...

Compartilhe esta Página