change_Delta function

A helper that takes a gurobi model object outputted from dose_attributable_general or dose_thresh_attributable_one_sided and changes the Delta parameter. Saves computation time by directly editing the constraint involving Delta without having to reinitialize the other constraints that are kept the same. Outputs a list analogous to output from dose_attributable_general or dose_thresh_attributable_one_sided.

  • Maintainer: Jeffrey Zhang
  • License: MIT + file LICENSE
  • Last published: 2025-10-10

Useful links