Optimize yield for a single simulation
optMSY(logFa, Asize_c, nareas, maxage, Ncurr, pyears, M_age, MatAge, WtAge,
Vuln, Retc, Prec, movc, SRrelc, Effind, Spat_targc, hc, R0c, SSBpRc, aRc, bRc,
Qc, MPA, maxF, useCPP = TRUE, SSB0c)
log apical fishing mortality
A vector of length areas with relative size of areas
Number of area
Maximum age
Current N-at-age
Number of projection years
M-at-age
Maturity-at-age
Weight-at-age
Vulnerablity-at-age
Retention-at-age
Recruitment error
Movement matrix
SR Relationship
Historical effort
Spatial targeting
Steepness
Unfished recruitment by area
Unfished spawning stock per recruit by area
Ricker aR
Ricker bR
Catchability
A matrix of spatial closures by year
A numeric value specifying the maximum fishing mortality for any single age class
logical - use the CPP code? For testing purposes only
SSB0