-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Lang: .NET.Net wrapper issue.Net wrapper issueOS: WindowsWindows OSWindows OSSolver: CPLEXCPLEX Solver related issueCPLEX Solver related issue
Milestone
Description
What version of OR-Tools and what language are you using?
Version: master/v7.3/v7.2 etc.
Language: C#
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
CPLEX
What operating system (Linux, Windows, ...) and version?
Windows 10
What did you do?
Steps to reproduce the behaviour
After cloning master branch, I execute the following commands
tools\make third_party
I added the WINDOWS_CPLEX_DIR = C:\Program Files\IBM\ILOG\CPLEX_Studio1210 in Makefile.Local
tools\make dotnet
If I try to run a examples with cplex with the following command , it doesn't work
make run SOURCE=examples/dotnet/BasicExample.cs
The project seems to work fine GLOP , SCIP but not with CPLEX
Error received:
WARNING: Logging before InitGoogleLogging() is written to STDERR
W00-1 -1:-1:-1.373535 20160 linear_solver.cc:609] Support for CPLEX not linked in, or the license was not found.
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
at BasicExample.Main() in C:\or-tools\examples\dotnet\BasicExample.cs:line 12
make: *** [makefiles/Makefile.dotnet.mk:462: run] Error -1073741819Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Lang: .NET.Net wrapper issue.Net wrapper issueOS: WindowsWindows OSWindows OSSolver: CPLEXCPLEX Solver related issueCPLEX Solver related issue