Skip to content

Commit

Permalink
fix:cobyla is not always the classical optimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
gcattan authored Jan 13, 2025
1 parent 5e84d11 commit 37ee7d6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyriemann_qiskit/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,9 @@ def _get_docplex_optimizer_from_params_bag(
optimizer=qaoa_optimizer,
)
else:
logger._log("Using ClassicalOptimizer (COBYLA)")
logger._log(
f"Using ClassicalOptimizer ({type(classical_optimizer).__name__})"
)
return ClassicalOptimizer(classical_optimizer)


Expand Down

0 comments on commit 37ee7d6

Please sign in to comment.