harshangrjn / QuantumCircuitOpt.jl

A Julia/JuMP Package for Optimal Quantum Circuit Design
Other
56 stars 15 forks source link

Fixed gurobi bug #5

Closed lockwo closed 3 years ago

lockwo commented 3 years ago

This is a small thing I just noticed. In the solver.jl file in the examples, you have optimizers_list = ["cplex", "cbc", "ipopt", "juniper", "alpine", "glpk"] and gurobi is not in this. This results in an error when using gurobi (ERROR: LoadError: UndefVarError: Memento not defined). If you just add "gurobi" to the beginning of that list it works (since it an option in the if/else branching later).

codecov[bot] commented 3 years ago

Codecov Report

Merging #5 (e482c7c) into master (f2b19d3) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   92.76%   92.76%           
=======================================
  Files          12       12           
  Lines        1064     1064           
=======================================
  Hits          987      987           
  Misses         77       77           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update f2b19d3...e482c7c. Read the comment docs.

harshangrjn commented 3 years ago

Thanks @lockwo!