jump-dev / BARON.jl

A Julia interface to the BARON mixed-integer nonlinear programming solver
http://minlp.com/baron
MIT License
18 stars 12 forks source link

There is no semicolon (;) in the STARTING_POINT of FileName.bar generated by Julia. #76

Closed askuyue closed 3 months ago

askuyue commented 4 months ago

Hello,

Thanks very much for your working.

Here, i want to pull a issue that there is no semicolon (;) in the STARTING_POINT of FileName.bar generated by Julia.

Like this : STARTING_POINT{ x1: 5.0 x2: 14.0 x3: 1.3333333333333333 } And you known this is wrong. The right is STARTING_POINT{ x1: 5.0; x2: 14.0; x3: 1.3333333333333333; }

Thanks very much.

askuyue commented 4 months ago

BARON version 24.5.8

odow commented 3 months ago

Does BARON work, or does it throw an error?

albesch1 commented 3 months ago

I also noticed this issue. The BARON devs said there should be a semicolon, but the parser wouldn't complain (it just seems to ignore the starting point). Once you add the semicolon, BARON promts feasiblity of the starting point during presolve.

odow commented 3 months ago

but the parser wouldn't complain (it just seems to ignore the starting point)

Ah, I guess this is why the tests did not catch the issue :smile:

I will fix after https://github.com/jump-dev/BARON.jl/pull/78

albesch1 commented 3 months ago

Much appreciated! ☺

askuyue commented 3 months ago

Thanks. Just throw the error in Line of STARTING_POINT. And it does not impact the results.