## Not run:
# # steps to recreate l.robot1
# inpath <- system.file("extdata/espresso/robot1_in.esp", package="LogicOpt")
# l.robot1 <- logicopt(esp_file=inpath,mode="echo")
# ## End(Not run)
# load l.robot1
data(l.robot1)
# optimize l.robot1
robot1_opt <- logicopt(l.robot1,8,3)
# optimized results have 13 rows that cover outputs zero, one, and minus
robot1_opt[2]
# print optimized equations (where each output is 1)
print_multi_tt(robot1_opt,TRUE,8,3)
Run the code above in your browser using DataLab