I am having trouble setting the ipopt options through pyomo.
For some options one can simply use
executable = os.getcwd()+'/Ipopt/Ipopt/build/bin/ipopt.exe'
opt = SolverFactory("ipopt", executable=executable,solver_io='nl')
opt.options['nlp_scaling_method'] = 'user-scaling'
This works fine. If i try set the option for "fixed_variable_treatment", i.e.:
opt.options['fixed_variable_treatment'] = 'make_parameter'
i get the following error:
ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 599, solve
Solver (asl) returned non-zero return code (1)
ERROR: "[base]\site-packages\pyomo\opt\base\solvers.py", 604, solve
Solver log:
Unknown keyword "fixed_variable_treatment"
I am assuming that this is because you cannot set all of the options through python?
Any help or way to overcome this would be greatly appreciated. Thanks