prepareForCarnivalRun: Prepares ILP formulation and writes it to .lp file....

View source: R/solve_carnival.R

prepareForCarnivalRunR Documentation

Prepares ILP formulation and writes it to .lp file. Currently supports the old data representation (CARNIVAL v.<2) for debugging and testing if any problems arise with the new way to generate variables.

Description

Prepares ILP formulation and writes it to .lp file. Currently supports the old data representation (CARNIVAL v.<2) for debugging and testing if any problems arise with the new way to generate variables.

Usage

prepareForCarnivalRun(
  dataPreprocessed,
  carnivalOptions,
  newDataRepresentation = TRUE
)

Arguments

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

list with all variables and ILP formulation written in .lp file.


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