library(CARNIVAL)
options <- defaultLpSolveCarnivalOptions()
options$solver <- "gurobi"
options$solverPath <- "/path/to/gurobi_cl"
# Even with options$mipGAP <- NULL, error persists
runInverseCarnival(measurements, priorKnowledgeNetwork,
carnivalOptions = options)