Optimizing Natural Resources and Agriculture