Supplement 2. Mathematical code, written in the program Matlab, for conducting the California MPA case study analysis.
File List
Short-term case-study (folder v9 ga NPV fullN fix1)
BinaryTabuMonteCarlo_PointLimit.m (MD5: 069b0975e3970338bc17f079a53b895a)
BinaryTabuMonteCarlo.m (MD5: ab10685d98a5f80af5d52bebb3af36cc)
connect_RedSeaUrchin.mat (MD5: 3dd2aa330869182d45bcc1e7ac4ce1b3)
Fleet_v1.m (MD5: 6245a8898a58c02416f687f4463c2013)
MOPmodel_loop1.m (MD5: dd0ab2893f60679adf5ddbc75994b958)
MOPmodel2.m (MD5: 060cfc23c503344f615618d7fae97f6f)
MPA_EF_v1.m (MD5: afaaa7bd17e462c105a5c4696478dd3c)
OptFsum.m (MD5: 1c52a9cfa4e6f9f6adaa91b8e17331d6)
Patches.mat (MD5: 942ceb31cde9277847f9e61b6fac1a3f)
Payoff_Conservation_EFvalue_STATIC1.m (MD5: 884aff36cbea043067de7b42f1efc64c)
Payoff_Conservation_EFvalue_v1.m (MD5: 8f4304eff81d9ac766bebb45311cbe7a)
STATIC1_v1.m (MD5: baa7296232d57c47d1f3f661b55e8ec6)
tuneAlphaCR.m (MD5: 72fc5bac58ddd4daf48836e9ea8a264b)
tuneRmax.m (MD5: 61e855f083d88cd6c53cba18d8b6f78f)
urchinHab135.mat (MD5: b07077150d5ea4733c80f2ebc65b668a)
wapr.m (MD5: 19b797c30b11aba20b390bb03054b234)
Long-term case-study (folder v9 ga T100)
BinaryTabuMonteCarlo_PointLimit.m (MD5: 069b0975e3970338bc17f079a53b895a)
BinaryTabuMonteCarlo.m (MD5: ab10685d98a5f80af5d52bebb3af36cc)
connect_RedSeaUrchin.mat (MD5: 3dd2aa330869182d45bcc1e7ac4ce1b3)
Fleet_v1.m (MD5: 6245a8898a58c02416f687f4463c2013)
MOPmodel_loop1.m (MD5: 15378bd64be805454b33d3ea4ae848d0)
MOPmodel2.m (MD5: b857cafc564ea35043e0701458d9fd8f)
MPA_EF_v1.m (MD5: afaaa7bd17e462c105a5c4696478dd3c)
OptFsum.m (MD5: 1c52a9cfa4e6f9f6adaa91b8e17331d6)
Patches.mat (MD5: 942ceb31cde9277847f9e61b6fac1a3f)
Payoff_Conservation_EFvalue_STATIC1.m (MD5: 884aff36cbea043067de7b42f1efc64c)
Payoff_Conservation_EFvalue_v1.m (MD5: 8f4304eff81d9ac766bebb45311cbe7a)
STATIC1_v1.m (MD5: 9572ae1a22019a66d93f3d4644d543d1)
tuneAlphaCR.m (MD5: 72fc5bac58ddd4daf48836e9ea8a264b)
tuneRmax.m (MD5: 61e855f083d88cd6c53cba18d8b6f78f)
urchinHab135.mat (MD5: b07077150d5ea4733c80f2ebc65b668a)
wapr.m (MD5: 19b797c30b11aba20b390bb03054b234)
Description
1. Open Matlab
2. Navigate to the appropriate directory
2a. For the short-term case study analysis, navigate into the folder "v9 ga NPV fullN fix1"
2b. For the long-term case study analysis, navigate into the folder "v9 ga T100" (Note: running this code takes ~15 days on a standard desktop computer)
3. Open the file MOPmodel_loop1.m in Matlab and run it
4. When complete, the analysis will produce figures of the results and save the results as "data_save_NPV" (for the short-term analysis) or "data_save_equil" (for the long-term analysis)
Questions? Contact
| Crow White, Ph.D.
| Assistant Professor
| Biological Sciences Department
| California Polytechnic State University
| San Luis Obispo, CA 93407