Extracts summary of solutions in a RapResults()
or
RapSolved()
object.
RapResults()
, or RapSolved()
object.
not used.
data.frame
This table follows Marxan conventions (https://marxansolutions.org/). The columns are:
The index of each solution in the object.
The status of the solution. The values in this column correspond to outputs from the Gurobi software package (https://www.gurobi.com/documentation/6.5/refman/optimization_status_codes.html).
The objective function for the solution.
Total cost associated with a solution.
Number of planning units selected in a solution.
The total amount of shared boundary length between all planning units. All solutions in the same object should have equal values for this column.
The amount of shared boundary length among planning units selected in the solution.
The amount of exposed boundary length in the solution.
The number of shared boundary length among planning units not selected in the solution.
The ratio of shared boundary length in the
solution (Connectivity_In
) to the total amount of boundary length
(Connectivity_Edge
). This ratio is an indicator of solution quality.
Solutions with a lower ratio will have less planning units and will be more
efficient.
# \dontrun{
# load data
data(sim_rs)
# show summary
summary(sim_rs)
#> Run_Number Status Score Cost Planning_Units Connectivity_Total
#> 1 1 OPTIMAL 20 20 20 220
#> 2 2 OPTIMAL 20 20 20 220
#> 3 3 OPTIMAL 20 20 20 220
#> Connectivity_In Connectivity_Edge Connectivity_Out Connectivity_In_Fraction
#> 1 8 144 68 0.03636364
#> 2 8 141 71 0.03636364
#> 3 8 143 69 0.03636364
# }