Files
ortools-clone/examples/dotnet/fsharp-netfx
2018-07-05 17:51:49 -07:00
..
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00
2018-07-05 17:51:49 -07:00

Examples of using or-tools in FSharp

This file describes how to use the or-tools .NET binary archive in F#

SolverOptions and lpSolve

This function and parameter object are a wrapper around the standard or-tools functions. It is designed to enter the Linear/Integer program as matrices & vectors. Two input formats are allowed: Canonical Form; Standard Form.

ALL Matrices & Vectors are entered as columns

Execution

Be sure to compile the or-tools (native & managed F# library) before executing following

fsharpc --target:exe --out:bin/<example_file>.exe --platform:anycpu --lib:bin examples/fsharp/<example_file>.fsx

DYLD_FALLBACK_LIBRARY_PATH=lib mono bin/<example_file>.exe