Skip to content

Files

Latest commit

c934a8e · Oct 1, 2018

History

History

tools

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Sep 24, 2018
Oct 1, 2018
Jul 10, 2018
Sep 17, 2018
Oct 31, 2017
Sep 19, 2018
Sep 29, 2016
Nov 24, 2017
Feb 8, 2018
Jan 3, 2014
Oct 2, 2017
Dec 28, 2014
Dec 28, 2014
Sep 5, 2018
Jul 19, 2016
May 4, 2018
Sep 26, 2018
Sep 18, 2018
Apr 7, 2011
Aug 3, 2018
Oct 2, 2017
This file describes how to use the or-tools .NET binary archive.

OR-Tools is located at https://developers.google.com/optimization

These modules have been tested under:
  - Ubuntu 14.04 and 16.04 up (64-bit).
  - Mac OS X El Capitan with Xcode 7.x (64 bit).
  - Microsoft Windows with Visual Studio 2013 and 2015 (64-bit)

Upon decompressing the archive, you will get the following structure:

or-tools/
  LICENSE-2.0.txt  <- Apache License
  README           <- This file
  data/            <- Data for the examples
  examples/        <- C# examples
  bin/             <- Directory containing assemblies and native libraries

Running the examples will involve compiling them, then running them.
We have provided a makefile target to help you. You need to have the
compiler tools accessible from the command line.

make rcs EX=csflow

This is equivalent to compiling and running examples/csflow.cs and running it:

  - on windows 32 bit:
csc /target:exe /out:bin\csflow.exe /platform:x86 /lib:bin /r:Google.OrTools.dll examples\csharp\csflow.cs
bin\csflow.exe

  - on windows 64 bit:
csc /target:exe /out:bin/csflow.exe /platform:x64 /lib:bin /r:Google.OrTools.dll  examples\csharp\csflow.cs
bin\csflow.exe

  - on linux (mono comes from the distribution, on ubuntu 16.04 and up):
mcs /target:exe /out:bin/csflow.exe /platform:anycpu /lib:bin /r:Google.OrTools.dll examples/csharp/csflow.cs
MONO_PATH=bin mono bin/csflow.exe

  - on Mac OS X (Use installer with version 4.2.1 or up):
mcs /target:exe /out:bin/csflow.exe /platform:anycpu /lib:bin /r:Google.OrTools.dll examples/csharp/csflow.cs
DYLD_FALLBACK_LIBRARY_PATH=lib mono64 bin/csflow.exe