create_constraints_multi: Create the constraints for QP: l <= Ax <= u

View source: R/multilevel_qp.R

create_constraints_multiR Documentation

Create the constraints for QP: l <= Ax <= u

Description

Create the constraints for QP: l <= Ax <= u

Usage

create_constraints_multi(Xz, trtz, lowlim, uplim, exact_global, verbose)

Arguments

Xz

list of J n x d matrices of covariates split by group

trtz

list of treatment assignment vectors

lowlim

Lower limit on weights

uplim

Upper limit on weights

exact_global

Boolean whether to include an exact global constraint

verbose

Boolean whether to display progress

Value

A, l, and u


ebenmichael/balancer documentation built on Jan. 17, 2024, 2:56 p.m.