lanl-ansi / Alpine.jl

A Julia/JuMP-based Global Optimization Solver for Non-convex Programs
https://lanl-ansi.github.io/Alpine.jl/latest/
Other
241 stars 39 forks source link

Example problems don't define variables as integers #231

Closed Vaibhavdixit02 closed 1 year ago

Vaibhavdixit02 commented 1 year ago

I was looking at the (great collection of) examples provided in this package and noticed that other than binary variables, other variable definitions don't seem to have the domain specified (integer). Curious if that's just an oversight or if I am missing something?

harshangrjn commented 1 year ago

@Vaibhavdixit02 Could you point to the exact example where you observe this issue?

Vaibhavdixit02 commented 1 year ago

Actually, I might have been misunderstanding the layout. So looks like there are some continuous non-linear examples in the https://github.com/lanl-ansi/Alpine.jl/tree/master/examples/MINLPs folder like this file https://github.com/lanl-ansi/Alpine.jl/blob/master/examples/MINLPs/castro.jl which confused me. I can see that integer.jl has MINLP problems with int specified in the @variables definition so that clarified the confusion for me.