Closed
Description
The original .lp being written into Julia is perfectly feasible.
The following code lines in Julia produce infeasible solution
model = read_from_file(probPath) #probPath is a path to .lp
set_optimizer(model, ()->Xpress.Optimizer(DEFAULTALG = 2, PRESOLVE = 1, logfile = "lp.log"))
optimize!(model)
I‘ve tried various options for the Optimizer.
I’ve also written the model back from Julia into an .lp. Compared with original .lp and found diffs in constraint rows. The .lp from Julia is also infeasible with IVE.
And then attempt to enforce model in LP format – produces the model that is incompatible with set_optimizer method:
model = MOI.FileFormats.Model(format = MOI.FileFormats.FORMAT_LP)
MOI.read_from_file(model, probPath)
set_optimizer(….) – given that model doesn’t work.