0

I found IloOplExec() function for Cplex on internet. But I can't use it in my C# code? I think it is for Java code. How can I use it in C#? Should I add a library or a class?

burak
  • 71
  • 6

1 Answers1

2

if you want to call and executable from C# you could read this in stackoverflow.

IloOplExec helps if you want to call an external executable from OPL.

Now, if what you want to do is call a CPLEX model from C# you have many options:

  • use concert C# to write your CPLEX model
  • call oplrun.exe with the link I gave in order to call oplrun to execute an OPL model
  • rely on the C# OPL API to call an OPL model from C#
Alex Fleischer
  • 9,276
  • 2
  • 12
  • 15