Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

Finding Solution based on multiple constraints

yuganda
5 - Atom

Is it possible for alteryx to find solutions based on certain criteria subject to  certain constraints? For example, I am trying to determine which Furniture items were allocated to living rooms based on the total cost of the living room in that specific house. For example based on the below data, I can see that Furniture #855 and #898 were allocated to  House  #9718  living  room. Is there a way for alteryx to compile a  list of all the furniture that  make up the respective House' Living Room cost?

 

House #Cost of Living Room
97182624
61493520
49772836
97632024
77954099
2602543
41633452

 

House #Furniture #Cost
9718679656
97188551312
971874753
97188981312
97188581718
971891576
97185521101
6149639880
61498503520
61496412351
61498393148
61499934909
61496533194
61497073663
61495472974
4977810487
49777552769
4977573326
4977665423
49779932836
4977925631
49776841601
9763519132
97637754096
9763926663
9763732732
77956374986
77958684633
77956311700
77959792908
2608652543
2608432330
4163734395
41636873729
41638133545

 

3 REPLIES 3
fmvizcaino
17 - Castor
17 - Castor

Hi @yuganda ,

 

You can use the optimization tool, I think. You can select the constraints and the result you want to achieve, but it shows only one possible answer.

 

For your problem, it only contains a set of 2 furnitures or it can be unlimited number of ?

 

Best,

Fernando Vizcaino

yuganda
5 - Atom

House #9718 contains two sets of furniture, but House#6149, contains only 1 Furniture#850 based on my data, so the number of  furniture in the living room can be any sum of furniture that total to the cost of that house's living room. However, there may be cases where any  subset of furniture cost do not agree to the total in the living room, in which case there is no solution. Can the optimization tool provide an output for all the House # that have a possible solution, or can it only do one House at a time?

fmvizcaino
17 - Castor
17 - Castor

Hi @yuganda ,

 

I'm attaching an example here showing how to do it. 

Since the optimization tool would not show all possible solutions, I've created manually all the possible cenarios considering 1 to 3 furnitures.

fmvizcaino_0-1587753254532.png

 

Let me know if this works for you.

Best,

Fernando Vizcaino

 

Labels