Saves all provided data together with generated variables for ILP problem in .RData file.

writeParsedData(
  variables = variables,
  dataPreprocessed = dataPreprocessed,
  filename = "parsedData.RData"
)

Arguments

variables

list of nodes, edges and measurements variables generated by createLpFormulation_v2

dataPreprocessed

list containing preprocessed priorKnowledgeNetwork, measurements, weights (if provided), perturbations (if provided).

filename

filename of the parsed data file.

Value

filename of the parsed data file.