I am using cplex .dll file in python to solve a well-formulated lp problem using pulp solver. Here is the code
here model is pulp object created using pulp library
When I run a.actualSolve(Model) I get following error from subprocess.py file.
OSError: [WinError 193] %1 is not a valid Win32 application
I tried with python 32 bit and 64 bit but couldn't solve it.
import pulp a = pulp.solvers.CPLEX_CMD("cplex dll file location")
a.actualSolve(model)
I expect the cplex dll file to solve my formulated optimization model and give me a solution for all the variables.