Documentation
¶
Overview ¶
Package problem contains definitions of some discrete optimization problems
Index ¶
- Constants
- Variables
- func ActivitySelection(n int) *discrete.Problem
- func Assignment(n int) *discrete.Problem
- func BinCover(n int) *discrete.Problem
- func BinPacking(n int) *discrete.Problem
- func BinaryPaintShop(n int) *discrete.Problem
- func BottleneckTravelingSalesman(n int) *discrete.Problem
- func CarPainting(n int) *discrete.Problem
- func CarSequencing(n int) *discrete.Problem
- func Clique(n int) *discrete.Problem
- func CliqueCover(n int) *discrete.Problem
- func CompleteColoring(n int) *discrete.Problem
- func DominatingSet(n int) *discrete.Problem
- func EdgeColoring(n int) *discrete.Problem
- func EdgeCover(n int) *discrete.Problem
- func EdgeDominatingSet(n int) *discrete.Problem
- func EfficientDominatingSet(n int) *discrete.Problem
- func EulerCycle(n int) *discrete.Problem
- func EulerPath(n int) *discrete.Problem
- func ExactCover(n int) *discrete.Problem
- func FlowShopSchedule(n int) *discrete.Problem
- func GeneralizedAssignment(n int) *discrete.Problem
- func GraphColoring(n int) *discrete.Problem
- func GraphPartition(n int) *discrete.Problem
- func HamiltonCycle(n int) *discrete.Problem
- func HamiltonPath(n int) *discrete.Problem
- func HarmoniousColoring(n int) *discrete.Problem
- func IndependentSet(n int) *discrete.Problem
- func JobShopSchedule(n int) *discrete.Problem
- func KCenter(n int) *discrete.Problem
- func KMinimumSpanningTree(n int) *discrete.Problem
- func Knapsack(n int) *discrete.Problem
- func LangfordPair(n int) *discrete.Problem
- func LinearBottleneckAssignment(n int) *discrete.Problem
- func LongestIncreasingSubsequence(n int) *discrete.Problem
- func LongestPath(n int) *discrete.Problem
- func MagicSeries(n int) *discrete.Problem
- func MaxCardinalityMatching(n int) *discrete.Problem
- func MaxWeightMatching(n int) *discrete.Problem
- func MinDegreeSpanningTree(n int) *discrete.Problem
- func MinimaxPath(n int) *discrete.Problem
- func MinimumKCut(n int) *discrete.Problem
- func MinimumSpanningTree(n int) *discrete.Problem
- func NQueens(n int) *discrete.Problem
- func NumberPartition(n int) *discrete.Problem
- func NurseSchedule(n int) *discrete.Problem
- func OpenShopSchedule(n int) *discrete.Problem
- func QuadraticAssignment(n int) *discrete.Problem
- func QuadraticBottleneckAssignment(n int) *discrete.Problem
- func QuadraticKnapsack(n int) *discrete.Problem
- func ResourceOptimization(n int) *discrete.Problem
- func SceneAllocation(n int) *discrete.Problem
- func SetCover(n int) *discrete.Problem
- func SetPacking(n int) *discrete.Problem
- func SetSplitting(n int) *discrete.Problem
- func ShortestPath(n int) *discrete.Problem
- func SteinerTree(n int) *discrete.Problem
- func SubsetSum(n int) *discrete.Problem
- func SumColoring(n int) *discrete.Problem
- func TopologicalSort(n int) *discrete.Problem
- func TravelingSalesman(n int) *discrete.Problem
- func VertexCover(n int) *discrete.Problem
- func WarehouseLocation(n int) *discrete.Problem
- func WeaponTarget(n int) *discrete.Problem
- func WidestPath(n int) *discrete.Problem
Constants ¶
const ( ACTIVITY_SELECTION = "activity" ASSIGNMENT = "assignment" BIN_COVER = "bincover" BIN_PACKING = "binpacking" BINARY_PAINTSHOP = "binarypaint" BOTTLENECK_TSP = "btsp" CAR_PAINT = "carpaint" CAR_SEQUENCE = "carsequence" CLIQUE = "clique" CLIQUE_COVER = "cliquecover" COMPLETE_COLOR = "completecolor" DOMINATING_SET = "dominatingset" EDGE_COLOR = "edgecolor" EDGE_COVER = "edgecover" EDGE_DOMINATING_SET = "edgedominatingset" EFFICIENT_DOMINATING_SET = "efficientdominatingset" EULER_CYCLE = "eulercycle" EULER_PATH = "eulerpath" EXACT_COVER = "exactcover" FLOWSHOP_SCHED = "flowshop" GEN_ASSIGNMENT = "genassignment" GRAPH_COLOR = "graphcolor" GRAPH_PARTITION = "graphpartition" HAMILTON_PATH = "hamiltonpath" HAMILTON_CYCLE = "hamiltoncycle" HARMONIOUS_COLOR = "harmoniouscolor" INDEPENDENT_SET = "independentset" JOBSHOP_SCHED = "jobshop" K_CENTER = "kcenter" K_MST = "kmst" KNAPSACK = "knapsack" LANGFORD_PAIR = "langford" LBAP = "lbap" LIS = "lis" LONGEST_PATH = "longestpath" MAGIC_SERIES = "magicseries" MAX_CARDINALITY_MATCH = "maxcardinalitymatch" MAX_WEIGHT_MATCH = "maxweightmatch" MINIMAX_PATH = "minimaxpath" MIN_K_CUT = "minkcut" MDST = "mdst" MST = "mst" NQUEENS = "nqueens" NUMBER_PARTITION = "numberpartition" NURSE_SCHED = "nurse" OPENSHOP_SCHED = "openshop" QBAP = "qbap" QKP = "qkp" QUAD_ASSIGNMENT = "quadassignment" RESOURCE_OPT = "resource" SCENE_ALLOCATION = "scene" SET_COVER = "setcover" SET_PACKING = "setpacking" SET_SPLITTING = "setsplit" SHORTEST_PATH = "shortestpath" STEINER_TREE = "steiner" SUBSET_SUM = "subsetsum" SUM_COLOR = "sumcolor" TOPOLOGICAL = "topological" TSP = "tsp" VERTEX_COVER = "vertexcover" WAREHOUSE = "warehouse" WEAPON = "weapon" WIDEST_PATH = "widestpath" )
Variables ¶
var Creator = map[string]func(int) *discrete.Problem{ ACTIVITY_SELECTION: ActivitySelection, ASSIGNMENT: Assignment, BIN_COVER: BinCover, BIN_PACKING: BinPacking, BINARY_PAINTSHOP: BinaryPaintShop, BOTTLENECK_TSP: BottleneckTravelingSalesman, CAR_PAINT: CarPainting, CAR_SEQUENCE: CarSequencing, CLIQUE: Clique, CLIQUE_COVER: CliqueCover, COMPLETE_COLOR: CompleteColoring, DOMINATING_SET: DominatingSet, EDGE_COLOR: EdgeColoring, EDGE_COVER: EdgeCover, EDGE_DOMINATING_SET: EdgeDominatingSet, EFFICIENT_DOMINATING_SET: EfficientDominatingSet, EULER_CYCLE: EulerCycle, EULER_PATH: EulerPath, EXACT_COVER: ExactCover, FLOWSHOP_SCHED: FlowShopSchedule, GEN_ASSIGNMENT: GeneralizedAssignment, GRAPH_COLOR: GraphColoring, GRAPH_PARTITION: GraphPartition, HAMILTON_PATH: HamiltonPath, HAMILTON_CYCLE: HamiltonCycle, HARMONIOUS_COLOR: HarmoniousColoring, INDEPENDENT_SET: IndependentSet, JOBSHOP_SCHED: JobShopSchedule, K_CENTER: KCenter, K_MST: KMinimumSpanningTree, KNAPSACK: Knapsack, LANGFORD_PAIR: LangfordPair, LBAP: LinearBottleneckAssignment, LIS: LongestIncreasingSubsequence, LONGEST_PATH: LongestPath, MAGIC_SERIES: MagicSeries, MAX_CARDINALITY_MATCH: MaxCardinalityMatching, MAX_WEIGHT_MATCH: MaxWeightMatching, MINIMAX_PATH: MinimaxPath, MIN_K_CUT: MinimumKCut, MDST: MinDegreeSpanningTree, MST: MinimumSpanningTree, NQUEENS: NQueens, NUMBER_PARTITION: NumberPartition, NURSE_SCHED: NurseSchedule, OPENSHOP_SCHED: OpenShopSchedule, QBAP: QuadraticBottleneckAssignment, QKP: QuadraticKnapsack, QUAD_ASSIGNMENT: QuadraticAssignment, RESOURCE_OPT: ResourceOptimization, SCENE_ALLOCATION: SceneAllocation, SET_COVER: SetCover, SET_PACKING: SetPacking, SET_SPLITTING: SetSplitting, SHORTEST_PATH: ShortestPath, STEINER_TREE: SteinerTree, SUBSET_SUM: SubsetSum, SUM_COLOR: SumColoring, TOPOLOGICAL: TopologicalSort, TSP: TravelingSalesman, VERTEX_COVER: VertexCover, WAREHOUSE: WarehouseLocation, WEAPON: WeaponTarget, WIDEST_PATH: WidestPath, }
var NoFiles = []string{LANGFORD_PAIR, MAGIC_SERIES, NQUEENS}
Functions ¶
func ActivitySelection ¶
Create new Activity Selection problem
func BinaryPaintShop ¶
Create new Binary Paintshop problem
func BottleneckTravelingSalesman ¶
Create new Bottleneck Traveling Salesman problem
func CompleteColoring ¶
Create new Complete Coloring problem
func EdgeDominatingSet ¶
Create new Edge Dominating Set problem
func EfficientDominatingSet ¶
Create new Efficient Dominating Set problem
func FlowShopSchedule ¶
Create Flow Shop Schedule problem
func GeneralizedAssignment ¶
Create new Generalized Assignment problem
func GraphPartition ¶
Create new Graph Partition problem
func HarmoniousColoring ¶
Create new Harmonious Coloring problem
func IndependentSet ¶
Create new Independent Set problem
func JobShopSchedule ¶
Create new Job Shop Schedule problem
func KMinimumSpanningTree ¶
Create new K-MST problem
func LinearBottleneckAssignment ¶
Create new Linear Bottleneck Assignment problem
func LongestIncreasingSubsequence ¶
Create new Longest Increasing Subsequence problem
func MaxCardinalityMatching ¶
Create new Max Cardinality Matching problem
func MaxWeightMatching ¶
Create new Max Weight Matching problem
func MinDegreeSpanningTree ¶
Create new Min-Degree Spanning Tree problem
func MinimumSpanningTree ¶
Create new Minimum Spanning Tree problem
func NumberPartition ¶
Create new Number Partition problem
func OpenShopSchedule ¶
Create new Open Shop Schedule problem
func QuadraticAssignment ¶
Create new Quadratic Assignment problem
func QuadraticBottleneckAssignment ¶
Create new Quadratic Bottleneck Assignment problem
func QuadraticKnapsack ¶
Create new Quadratic Knapsack problem
func ResourceOptimization ¶
Create new Resource Optimization problem
func SceneAllocation ¶
Create new Scene Allocation problem
func TopologicalSort ¶
Create new Topological Sort problem
func TravelingSalesman ¶
Create new Traveling Salesman problem
func WarehouseLocation ¶
Create new Warehouse Location problem
func WeaponTarget ¶
Create new Weapon Target Assignment problem
Types ¶
This section is empty.
Source Files
¶
- activity_selection.go
- assignment.go
- bin_cover.go
- bin_packing.go
- binary_paintshop.go
- bottleneck_tsp.go
- car_painting.go
- car_sequencing.go
- clique.go
- clique_cover.go
- complete_coloring.go
- dominating_set.go
- edge_coloring.go
- edge_cover.go
- edge_dominating_set.go
- efficient_dominating_set.go
- euler_cycle.go
- euler_path.go
- exact_cover.go
- flow_shop.go
- generalized_assignment.go
- graph_coloring.go
- graph_partition.go
- hamilton_cycle.go
- hamilton_path.go
- harmonious_coloring.go
- independent_set.go
- job_shop.go
- k_center.go
- k_mst.go
- knapsack.go
- langford_pair.go
- lbap.go
- lis.go
- longest_path.go
- magic_series.go
- max_cardinality_match.go
- max_weight_match.go
- mdst.go
- min_k_cut.go
- minimax_path.go
- mst.go
- n_queens.go
- number_partition.go
- nurse_scheduling.go
- open_shop.go
- qbap.go
- quadratic_assignment.go
- quadratic_knapsack.go
- registry.go
- resource_opt.go
- scene_allocation.go
- set_cover.go
- set_packing.go
- set_splitting.go
- shortest_path.go
- steiner_tree.go
- subset_sum.go
- sum_coloring.go
- topological_sort.go
- tsp.go
- vertex_cover.go
- warehouse_location.go
- weapon_target.go
- widest_path.go