I wish to port an application currently written in matlab and using snOpt to fortran for integration into a larger project.
I cannot seem to find any program examples or literature on snOptA and trying to decipher the snoptmex source and use this as a model for a native snOptA fortran application has not proved successful.
The problem variables currently arrive more or less in the same format used by the matlab snopt call so the snoptmex source should be a good example of how to do solve the problem. However in the absence of a pure snOptA example it is proving difficult to track down the segmentation errors.
snJac does run without errors but does not seem to provide meaningful output. Perhaps the variables passed through the call to snJac are being garbled somewhere as debugging statements in the objective function show the objective function being called as expected.
Searches on the web turn up no examples of snOptA and snJac usage in fortran so if anyone can direct me to an example with downloadable source files this would be very helpful.