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

Is `minlp_solver` a required field? #232

Closed Vaibhavdixit02 closed 1 year ago

Vaibhavdixit02 commented 1 year ago

Describe the bug The title is basically it, is it a required field? The examples don't seem to have it in the run_examples.jl file but I got an error when trying to use it from the MOI interface

harshangrjn commented 1 year ago

minlp_solver is necessary only when your original nonlinear problem has binary variables. For example, to run this instance, just uncomment the minlp_solver option in here and it should work. This line was commented out because the example nlp3 has only continuous variables.

Vaibhavdixit02 commented 1 year ago

Thanks for the clarification