using BARON 
BARON_SILENT = with_optimizer(BARON.Optimizer, OutputFlag = 0)

# Loading BARON examples (that haven't been loaded yet)
for i in ["nlp1.jl", "nlp2.jl", "nlp3.jl"]
    include(OCTHaGOn.BARON_DIR * i)
end

BARON_PROBLEMS = [minlp, pool1, nlp1, nlp2, nlp3]

bms = [p(false) for p in BARON_PROBLEMS]
globalsolve_and_time!.(bms)

gms = [p(true) for p in BARON_PROBLEMS]
globalsolve_and_time!.(gms)

# save_fit.(gms)
# load_fit.(gms)