Originally posted by: StevinYao
Hey guys,
I am working on a problem which involves a constraint on a decision expression. Since the value of the expression at time t+1 depends on its value at time t, one error regarding "circular dependency" is prompted.
The expression is as follows.
where all the variables related to time index t or t-1 are denoted using parentheses, while constants are simply represented by letter. Lower case variables are decision variables; upper case variables are expressed as decision expressions; and bold upper case are decision expression vector.
I have a bound constraint on B(t). To be clear, the vector C, D[t], D[t-1] are apportion plans, i.e., the summation of all the elements of C, D[t], D[t-1] equals to 1. y[t] is a indicator variable (boolean).
No matter how I tried, I can't avoid the circular dependency error.
I searched the forum about this problem. There is a topic posted about circular dependency error, and the link for that post is https://www.ibm.com/developerworks/community/forums/html/topic?id=27bced2b-1dab-419a-a3fd-563287bcea12&ps=25.
I tried to use the second option listed in the post. However, B(t) in my case, is a float number, and it is not supported by CP optimizer.
Is there anyway that I can express this decision expression?
All the best,
Stevin
#DecisionOptimization#OPLusingCPOptimizer