Initial commit: cuGenOpt GPU optimization solver

This commit is contained in:
L-yang-yang 2026-03-20 00:33:45 +08:00
commit fc5a0ff4af
117 changed files with 25545 additions and 0 deletions

View file

@ -0,0 +1,19 @@
"""
Built-in operator packs for standard problems.
Each pack provides problem-aware custom operators that can significantly
improve solution quality for specific problem types. Users load them like:
from cugenopt.operator_packs import tsp_ops
result = cugenopt.solve_custom(..., custom_operators=tsp_ops)
Or with built-in solvers:
result = cugenopt.solve_tsp(dist, custom_operators=tsp_ops)
"""
from cugenopt.operator_packs.tsp import tsp_ops
from cugenopt.operator_packs.knapsack import knapsack_ops
from cugenopt.operator_packs.graph_color import graph_color_ops
__all__ = ["tsp_ops", "knapsack_ops", "graph_color_ops"]