gurobi

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func RunGurobi

func RunGurobi(data []forms.Form) (string, map[string]forms.Form, map[string]float64, error)

Currently this runs the Gurobi optimization through python. There is a gurobi library for Go but it is different syntax wise so this is a temporary solution until the Go library is implemented (if time permits)

func SolveGurobi

func SolveGurobi(args []string) (float64, map[string]string, map[string]string, map[string]float64)

func TranslateGurobi

func TranslateGurobi(data []forms.Form) (string, string, map[string]forms.Form, map[string]float64)

Translates the form data to Gurobi syntax(this is proprietary to how the gurobi python program works) a new translator will more than likely need to be created for any other optimization program

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL