I am new to pyomo, so this is a basic question about the capabilities/restrictions of pyomo as a whole. I have read most of the “Optimization Modeling in Python” textbook about using pyomo, and I believe that pyomo would be a great tool for me to use for a modeling project I am currently working on. However, I do have one concern. In many equations in my model, I need to access a Fortran library linked through a DLL (it’s a commercial equation of state). The functions in this Fortran library are very non-linear. From what I understand, non-linear pyomo equations must be represented through the non-linear functions provided from the pyomo library. Is there any way to use pyomo while using this DLL, or would I need to rebuild all of the functions in the Fortran library in python with pyomo functions?
Eric Hintz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.