I have tried to use the command
GAP = MOI.get(model, MOI.RelativeGap())
Nodes = MOI.get(modelo, MOI.NodeCount())
to obtain the relative GAP of my solution. Some colleagues in this group helped me, but this function does not work yet. The error appear:
ERROR: MethodError: no method matching get_relative_mip_gap(::CPLEX.Optimizer)
Is there some date to this function works? I need to my research.
Thanks a lot.