Handling Optimization Formats¶
With aqmodels
you can define your optimization problem in a uniform way so that you can switch between standard optimization formats and access various solvers.
Solvers and algorithms often support specific optimization formats, and not all formats are compatible with every solver. To bridge this gap, LunaSolve provides a robust format translation feature. This allows you to use solvers even if they don’t natively support the format your problem is defined in.
For example, you can upload a problem in QUBO format and run it with a solver that expects LP—LunaSolve will automatically handle the conversion for you. This flexibility is powerful, but keep in mind that translations may impact solver performance, especially if the original problem was tailored to a specific format.
Translate Optimization Formats into Aqmodels¶
With Translators in aqmodels
you can easily convert your QUBO, LP, BQM or CQM into a unified Model
.