constrain

  1. A

    Difficulty formulating Linear Programming Model Equation

    I'm dealing with the following question and am not able to formulate a linear programming model for it: - Suppose that the minimum number of security staff required at different hours are at the ith hour (i=1,2,…,24) are outlined as follows (see picture) Each staff must work in 6 consecutive...
  2. trinker

    Constrain a value to be between -1 and 1

    I asked this question a while back and never found an answer. After reading my multilevel book I realized the answer from the logit link reading: ((1 - (1/(1 + exp(x)))) * 2) - 1 This should take any real number between -Inf and Inf and transform it to between -1 and 1. I think. I came up...