Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about cp-optimizer

Read more about cp-optimizer

python (12.9k questions)

javascript (9.2k questions)

reactjs (4.7k questions)

java (4.2k questions)

java (4.2k questions)

c# (3.5k questions)

c# (3.5k questions)

html (3.3k questions)

Questions - cp-optimizer

CpoException: Executable file should be given in 'execfile' context attribute

the line in question that is giving me problems is the following: msol = mdl.solve(TimeLimit=20, trace_log=False, execfile='\Applications\CPLEX_Studio_Community201\cpoptimizer\bin\x86-64_osx\cpoptimiz...
test-img

Manuel Lopez

cplex

docplex

cp-optimizer

Votes: 0

Answers: 1

Latest Answer

I am not sure on MacOS the executable name ends with .exe, it should be cpoptimizer. And also the path separarators is / instead of \ so execfile='/Applications/CPLEX_Studio_Community201/cpoptimizer/b...
test-img

Frederic Delhoume

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved