View source: R/solve_carnival.R
prepareForCarnivalRun | R 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.
prepareForCarnivalRun(
dataPreprocessed,
carnivalOptions,
newDataRepresentation = TRUE
)
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. |
list with all variables and ILP formulation written in .lp file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.