processSolution: Exports the solution matrix to the final solution.

View source: R/solve_carnival.R

processSolutionR Documentation

Exports the solution matrix to the final solution.

Description

Exports the solution matrix to the final solution.

Usage

processSolution(
  solutionMatrix,
  variables,
  dataPreprocessed,
  carnivalOptions,
  newDataRepresentation = TRUE
)

Arguments

solutionMatrix

the output matrix from ILP solver containing variables list (rows) and their values in different solutions (columns).

variables

list of nodes, edges and measurements variables generated by createLpFormulation_v2.

dataPreprocessed

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

carnivalOptions

all options of CARNIVAL.

newDataRepresentation

TRUE by default. For debugging with the old data representation, put to FALSE.

Value

Carnival results exported from the solution matrix. see runCARNIVAL for details.


saezlab/CARNIVAL documentation built on Jan. 17, 2024, 5:10 p.m.