简体   繁体   English

c#cplex api设置澄清步骤

[英]c# cplex api setup clarification steps

I am trying to start using the c#.net api for ibm cplex v12.6. 我正在尝试开始为ibm cplex v12.6使用c#.net api。 However, I have trouble in the installation: 但是,我在安装时遇到了麻烦:

IBM page is telling me i need to set the compiler and linker: https://www.ibm.com/support/knowledgecenter/en/SSSA5P_12.6.3/ilog.odms.cplex.help/CPLEX/GettingStarted/topics/tutorials/Csharp/prerequisites.html IBM页面告诉我我需要设置编译器和链接器: https : //www.ibm.com/support/knowledgecenter/zh-CN/SSSA5P_12.6.3/ilog.odms.cplex.help/CPLEX/GettingStarted/topics/tutorials/ CSHARP / prerequisites.html

but what exactly do i need to do? 但是我到底需要做什么?

I am also confused by visual studio versions: is the community 2013 ok? 我对Visual Studio版本也感到困惑:社区2013可以吗?

Thank you 谢谢

Just run the CPLEX installer and take the default options. 只需运行CPLEX安装程序并采用默认选项即可。 It will install everything you need to use CPLEX with Visual Studio (and a lot more as well), and should be compatible with any recent version of VS. 它将安装将CPLEX与Visual Studio结合使用所需的一切(以及更多功能),并且应与任何最新版本的VS兼容。 Only real decision is whether to install the 32 or 64 bit version (or both). 唯一的决定是安装32位还是64位版本(或同时安装)。 It'll put a mountain of stuff in somewhere like 'C:\\Program files\\IBM' but you can ignore most of it when working with C# and .Net 它将在“ C:\\ Program files \\ IBM”之类的地方放置大量内容,但是在使用C#和.Net时,您可以忽略其中的大部分内容

When I am working with Visual Studio and C#, I pretty much only ever use stuff in one folder such as: 当我使用Visual Studio和C#时,我几乎只使用过一个文件夹中的内容,例如:

C:\\Program Files\\IBM\\ILOG\\CPLEX_Studio1271\\cplex\\bin\\x64_win64 C:\\ Program Files \\ IBM \\ ILOG \\ CPLEX_Studio1271 \\ cplex \\ bin \\ x64_win64

Obviously you need to have a compiler and linker to do stuff with C#, and Visual Studio is the obvious choice. 显然,您需要具有编译器和链接器才能使用C#进行处理,而Visual Studio是显而易见的选择。 I have used many combinations of versions over the years (currently using 64-bit CPLEX 12.4, 12.5.1, 12.6.3 and 12.7.1 on various projects, with VS2008, VS2010 and VS2015, both pro and community editions) so I can't see why you would have a problem. 多年来,我使用了许多版本组合(当前在各种项目上使用64位CPLEX 12.4、12.5.1、12.6.3和12.7.1,以及VS2008,VS2010和VS2015(专业版和社区版)),因此我可以不知道为什么会有问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM