Step-by-step guide for installing Cplex and use it in Flexsim

Step-by-step guide for installing Cplex and use it in Flexsim

jacopo_r
Not applicable
881 Views
20 Replies
Message 1 of 21

Step-by-step guide for installing Cplex and use it in Flexsim

jacopo_r
Not applicable

[ FlexSim 23.0.1 ]

Hi everyone,

I am currently struggling with using Cplex (in a python code) through FlexSim.

I managed to get the connection between FlexSim and Python working and I tested it out with a simple code returning the sum of two numbers I give as parameters, and that works.

I installed Cplex and if I run a python code with a cplex model in Jupyter Notebook it works, but when I try to call that function from FlexSim it does not. I started to think that there could be something wrong "behind the scene". I read something about setting the environment variables properly and stuff like that. I have to admit that I am not an expert in this kind of things, so I decided to look for someone very patient and willing to explain step by step how I should install and make sure that cplex is properly set for FlexSim.

Thank you all in advance 🙂

0 Likes
Accepted solutions (1)
882 Views
20 Replies
Replies (20)
Message 21 of 21

jacopo_r
Not applicable
Hi @Kavika F ,

I wanted to say that after different attempts I managed to do what I need to. So thanks again for you support and you don't need to answer to the last questions I asked.

All the best,

Jacopo