Reading LP/MPS file and using callback

Hi All,

is there a way to read an lp/MPS file in julia and apply the callback function.

Thanks,
Manoj Kumar

1 Like

is there a way to read an lp/MPS file

https://jump.dev/JuMP.jl/stable/manual/models/#Read-a-model-from-file

and apply the callback function

https://jump.dev/JuMP.jl/stable/manual/callbacks/

When I use JuMP.read_from_file(“myModel.lp”) I get the error “ERROR: read! is not implemented for LP files.”.

Update your packages. This was added in MOI v1.3.0.

1 Like