import(stats)
import(Matrix)
import(ggplot2)
import(osqp)
importFrom("graphics", "hist")
importFrom("utils", "combn")

export(optweight, optweight.fit, optweight.svy, optweight.svy.fit, check.tols, check.targets)

S3method(print, optweight)
S3method(print, optweightMSM)
S3method(print, optweight.svy)
S3method(print, optweight.tols)
S3method(print, optweight.targets)
S3method(plot, optweight)
S3method(plot, optweight.svy)
S3method(summary, optweight)
S3method(summary, optweightMSM)
S3method(summary, optweight.svy)
S3method(print, summary.optweight)
S3method(print, summary.optweightMSM)
S3method(print, summary.optweight.svy)
S3method(plot, summary.optweight)
