Skip to content

martinWANG2014/CplexCPlusPlusDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CplexCPlusPlusDemo

a simple demo of using cplex callable library for C/C++.

Be attention that you should configure Visual Studio for your toolchain and cmake if you use the CLion in the Windows environment because that cplex C++ callable library works for MSVC compiler while not for MinGW and CygWin (always find some bugs for MinGW and CygWin).

Configuration of ToolChain for CLion in Windows

ToolChains

Configuration of CMake for CLion in Windows

CMake

Executable Target

Path: /build/bin

Model File

Path: /build/model.lp

Solution File

Path: /build/sol.sl

Dependency Library Configuration

Path: /cmake/FindCplex.cmake

CMakeLists File

Path: CMakeLists.txt

For a simple use, you can just modify the project name

About

a simple demo of using cplex callable library for C/C++.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published