I have tried the pyipopt to run IPOPT. That works well.
But I am using Fortran 90 now. I look into the example hs071_f in IPOPT for the Fortran interface. I guess it is written in Fortran 77? Unfortunately, I really don't understand.
I was wondering whether there was a Fortran 90 interface?
Though I just found a Fortran90 Interface Source from http://apmonitor.com/wiki/index.php/Main/DownloadIpopt, I cannot build it. Is it because I am using Mac but the source is for Windows?
Errors:
gfortran hs071.f90 -o vfi.out -fbounds-check -O2
Undefined symbols for architecture x86_64:
"_ipaddintoption_", referenced from:
_MAIN__ in cculABQh.o
"_ipaddnumoption_", referenced from:
_MAIN__ in cculABQh.o
"_ipaddstroption_", referenced from:
_MAIN__ in cculABQh.o
"_ipcreate_", referenced from:
_MAIN__ in cculABQh.o
"_ipfree_", referenced from:
_MAIN__ in cculABQh.o
"_ipopenoutputfile_", referenced from:
_MAIN__ in cculABQh.o
"_ipsolve_", referenced from:
_MAIN__ in cculABQh.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
Looking forward to anyone's advice! Thanks in advance!