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

Plans for JuMP 0.19 interop? #26

Closed tkoolen closed 4 years ago

tkoolen commented 5 years ago

Hey @joehuchette. I was just wondering what your plans are for supporting JuMP 0.19. I guess there are (at least) two possible avenues:

Any thoughts?

joehuchette commented 5 years ago

I was planning to bite the bullet and update to MOI: the surface area of the package isn't too large, and it mostly uses the nonlinear interface which is largely unchanged. This is one of the projects I was hoping to tackle at the JuMP-dev workshop this week :)

tkoolen commented 5 years ago

Wow, that would be awesome, thank you!

rcallen10 commented 5 years ago

@joehuchette

If this issue is still open after Christmas, I would be willing to contribute to the merge.

tkoolen commented 5 years ago

I feel #31 is probably about 80 - 90% of the way to full functionality. What's missing is handling of NLPBlocks, but that hasn't changed much from MathProgBase so it shouldn't be that difficult to reimplement. I just didn't do it because I didn't personally need it and my time is limited right now.

pedroborgesmelo commented 4 years ago

Hello guys!

The tests gear.jl and minlp.jl are not running on my computer.. it says

" ... Attribute MathOptInterface.NLPBlock() is not supported by the model."

Somebody knows how to make it work?

Tks.

joehuchette commented 4 years ago

The newest version of BARON.jl only supports quadratically constrained problems (for now). It was partially updated for the new communication layer used by JuMP (MathOptInterface). I'm planning to get around to finishing the job in the coming weeks.