Alteryx Designer Desktop Discussions

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

Running a Pulp Solver via Python Script in Alteryx

Ishan
5 - Atom

Dear All,

 

I wish to solve a logistics distribution problem using the Pulp library in Python.  Is there a way to solve this via the Python tool in the Jupyter environment in Alteryx?  Are there any example workflows available on this?

 

I will processing the variables & input data by importing data into Alteryx from excel based spreadsheets and wish to feed that into a solver by calling the Pulp library.  

 

Rgds,

Ishan

1 REPLY 1
PeterP
8 - Asteroid

Hi @Ishan,

 

This can definitely be done by using the python tool within Alteryx Designer. All you would need to do is import the Pulp library package from the jupyter notebook in Alteryx. To install Alteryx packages that do not come native to the python you can use Alteryx.InstallPackages("Pulp") to install Pulp. 

 

I've attached a workflow I built referencing a simple logistics example I found here. 

Labels