Files
ortools-clone/examples/fsharp
2018-03-07 19:36:52 -08:00
..
2018-02-13 00:00:34 -08:00
2018-03-07 19:36:52 -08:00

Examples of using or-tools in FSharp

Examples from the or-tools library utilizing 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