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.
change_Delta(model, Delta, direction = "equal", TT)A gurobi model and solution.
A gurobi model object outputted from dose_attributable_general.
The new Delta to test for.
The new direction to test
The observed test statistic.