Skip to contents

Retrieves specific solutions from a parquet dataset of optimization solutions.

Usage

extract_solutions(
  solutions = NULL,
  dir = ".",
  run_id = "optimTFE",
  columns = NULL
)

Arguments

solutions

numbers to return

dir

Directory containing the solution files. Default is current directory.

run_id

The run identifier used to create the subfolder. Default is "optimTFE".

columns

(optional) columns to subset

Value

A data frame containing the requested solutions, or NULL if solutions is empty.