[todo]
Problem(objective, toer, power, label = "", unimodal = FALSE, ...) optimise_design(problem, verbosity = 3, timelimit = 180, ...)
| objective | object of class |
|---|---|
| toer | type one error rate constraint (see constraints) |
| power | power constraint (see constraints) |
| label | label for the problem |
| unimodal | force unimodal solution (can be time consuming!) |
| ... | optional arguments |
| problem | object of class |
| verbosity | verbosity level of optimisation procedure |
| timelimit | maximum time spent in ILP solver (in seconds) |
# \donttest{ prior <- Beta(5, 7) problem <- Problem( minimise(SampleSize(prior)), Power(prior %|% 0.2) <= 0.05, Power(prior >= 0.3) >= 0.80 ) design <- optimise_design(problem) # }