sendTaskToSolver: Executes the solve on the provided ILP formulation (in .lp...

View source: R/solve_carnival.R

sendTaskToSolverR Documentation

Executes the solve on the provided ILP formulation (in .lp file).

Description

Executes the solve on the provided ILP formulation (in .lp file).

Usage

sendTaskToSolver(
  variables,
  dataPreprocessed,
  carnivalOptions,
  newDataRepresentation = TRUE
)

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).

carnivalOptions

all options of CARNIVAL.

newDataRepresentation

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

Value

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


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