snopt / snopt-matlab

Matlab interface for sparse nonlinear optimizer SNOPT
MIT License
55 stars 23 forks source link

precompiled-snoptmex.mexw64 #8

Closed salimoha closed 6 years ago

salimoha commented 7 years ago

after running ./configure and make install a set of precompiled-snoptmex.mex gets generate however in order to snopt matlab code work, they need to be modified as snoptmex.mex.

gnowzil commented 7 years ago

precompiled-snoptmex. files are included in the SNOPT package, built at the time the package is put together for release. They are not created from the configure or make install process. configure/make creates fresh files named snoptmex.mex,

gnowzil commented 7 years ago

If you want to use the included precompiled files, then you do have to rename them (see https://ccom.ucsd.edu/~optimizers/usage/matlab/) but you don't need to configure/make beforehand -- they are ready for use immediately.