coin-or / Bonmin

Basic Open-source Nonlinear Mixed INteger programming
https://coin-or.github.io/Bonmin
Eclipse Public License 1.0
118 stars 22 forks source link

Unable to use packages bonmin #45

Open Supriya20000 opened 10 months ago

Supriya20000 commented 10 months ago

Hello all,

We have installed pyomo package as well as bonmin package and we are using the below script to use package 'bonmin' as solver but facing issues and unable to use this package. Please find the below mentioned code in brief that we are using:

!/bin/bash

import pyomo.environ as abc path = ' ' solver = 'bonmin' opt = pyo.SolverFactory(solver, executable=path)

opt = pyo.SolverFactory(solver)

res = opt.solve(model)

Error:

ERROR: Solver (asl) returned non-zero return code (-11) ERROR: Solver log: Bonmin 1.8.9 using Cbc 2.10.8 and Ipopt 3.14.10 bonmin: ApplicationError: Solver (asl) did not exit normally

Can you please help us with this issue?

Thanks & Regards