Description Usage Arguments Details Value See Also Examples

`Optimize_First_Objective`

loads the optimization problem and optimizes `First_Objective`

in Julia environment.

1 2 | ```
Optimize_First_Objective(Time_limit=1e7, Solver="SCIP",
Silence= FALSE, Env= .GlobalEnv)
``` |

`Time_limit` |
A double: the total time limit in seconds |

`Solver` |
A string: defining the solver to be used to solve the problem. (Default: "SCIP") |

`Silence` |
A binary parameter: if |

`Env` |
the environment where the package should create or access variables. By default the package works in the R's Global environment. (Default: .GlobalEnv) |

In the list that `Optimize_First_Objective`

returns, `[["Status"]]`

defines the status of the returned solution.

If `[["Status"]]="OPTIMAL"`

, the problem was solved to optimality and the parcels' optimal status are stored in `[["Result"]]`

.
Also, the optimal value will be stored in `[["Objective_Value"]]`

.

If `[["Status"]]="TIME_LIMIT"`

, the solver was terminated because the time limit was reached.
If any feasible solution was reported by the solver, it would be stored in `[["Result"]]`

. Otherwise, `[["Result"]]`

and `[["Objective_Value"]]`

would be
both equal to "N/A".

If `[["Status"]]="INFEASIBLE"`

, the problem is infeasible. So, no solution would be reported.

In any other case, the `[["Status"]]`

will be the solution status that the solver has reported.

A list with 5 members:

`[["Solution_time"]]`

: a numeric value; defining the time spent in the solver in seconds.

`[["Status"]]`

: a character; defining the status of the solution.

`[["Gap"]]`

: a numeric value; defining the relative optimality gap of the solution.

`[["Result"]]`

: a vector of binaries; its `i`

'th element defines if the parcel named `Parcels[i]`

is protected or not in the optimal solution. Comparing these values with the values of `Status`

defined when creating the problem,
the user can find which parcels are to be invested, divested, or remain the same.

`[["Objective_Value"]]`

: a numveric value; the returned value of First objective.

Other Optimizer Functions:
`Load_Problem()`

,
`Optimize_NBP()`

,
`Optimize_Second_Objective()`

,
`Optimize_WSO()`

Other First Objective:
`First_Objective_Create()`

,
`First_Objective_Import()`

1 2 3 4 5 | ```
## Not run:
Optimization_Result = Optimize_First_Objective(Time_limit=1e7, Solver="SCIP")
## End(Not run)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.