R code linear order-constraints and power