I am trying to solve the knapsack problem in flexsim but I am confused on how to approach this.
I am trying to solve the knapsack problem in flexsim but I am confused on how to approach this.
Hi @prajwal_gudadoor ,
You can write the knapsnack-solving algorithm using flexscript or you can create the algorithm in Python and execute it from Flexsim and display the result in Flexsim.
To write flexscript go through writing logic in FlexSim.
https://docs.flexsim.com/en/24.1/Reference/CodingInFlexSim/WritingLogic/WritingLogic.html#app
For connecting to python
15 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved