Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Optimization tool constraint condition error

Butorin_Petr
5 - Atom

Hello, I have trouble with the optimization tool.

I have constraint: -1*[46_2018_1]+[46_2018_3]=0 (the third constraint in my flow)

Optimization tool gives me a solution, where [46_2018_1] = 0 and [46_2018_3] = 1 and says that constraint condition is met and that constraint value is zero, however in this solution, it equals to one, not to zero: -1*0+1 = 1

 

Please, share any ideas on how to fix this mistake.

 

Thank you!

2 REPLIES 2
mmenth
11 - Bolide

Hey @Butorin_Petr,

 

It looks like you didn't have your variables entered in the same order from your objective matrix to your constraint matrix. I tweaked the order so that they match and now it looks like all the constraints are being met.

 

Best,

mmenth

Butorin_Petr
5 - Atom

Thank you very much!

But that mechanics seems very strange to me, as i'm using variables names and didn't even think that variables positioning could affect the tool.

Labels
Top Solution Authors