Skip to content

Increasing prioritzr speed: specifying start solution #57

Description

@ric325

Jeff said that to make things faster "You could try specifying a starting solution for the optimization process - that might help speed things up." Looking into this, you can do this when you add the solver. e.g.,

add_cbc_solver(x, gap = 0.1, time_limit = .Machine$integer.max, presolve = TRUE, threads = 1, first_feasible = FALSE, start_solution = NULL, verbose = TRUE)

We could try to set start_solution to a previous solution that is likely to be similar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions