mirror of
https://github.com/L-yang-yang/cugenopt.git
synced 2026-04-25 12:16:21 +02:00
Initial commit: cuGenOpt GPU optimization solver
This commit is contained in:
commit
fc5a0ff4af
117 changed files with 25545 additions and 0 deletions
19
python/cugenopt/operator_packs/__init__.py
Normal file
19
python/cugenopt/operator_packs/__init__.py
Normal 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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue