Hi I wrote a simple script on Jupyter notebook to model a problem and then use pyomo's SolverFactory as follows:
from pyomo.opt import SolverFactory
opt = SolverFactory('ipopt')
result = opt.solve(model)
The notebook version cannot run because ipopt cannot be found but when I use command line it runs. Does this have something to do with jupyter notebbok? I prefer to use jupyter notebook if possible since it is interactive. Thank you in advance.