solver

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Solve

func Solve(cs []constraint.C, v vector.V, r float64) vector.V

Solve attempts to find a vector which satisfies all constraints and minimizes the distance to the input preferred vector v, with maximum length of v set to r.

Types

This section is empty.

Directories

Path Synopsis
Package solver solves a 2D linear programming problem in 2D ambient space.
Package solver solves a 2D linear programming problem in 2D ambient space.
Package solver solves a 2D linear programming problem projected into 3D ambient space.
Package solver solves a 2D linear programming problem projected into 3D ambient space.
bounds
circular
Package circular defines a 2D bounding constraint that limits the maximum length the solution vector may be.
Package circular defines a 2D bounding constraint that limits the maximum length the solution vector may be.

Jump to

Keyboard shortcuts

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