Skip to content

Increasing the the value of hard_constr_tol in evaluation.py #9

@Amin0G

Description

@Amin0G

I evaluated a solution of 14-bus system, and the output is

obj: 14714.519506
cost: 14676.352023
penalty: 38.167483
max_obj_viol: 0.000000
max_nonobj_viol: 0.000000
infeas: 1

I think this is a feasible solution and max_nonobj_viol is almost zero. However, I got infeas=1. I think this is because hard_constr_tol=1e-12 in the evaluation code is a very small number such that a very small max_nonobj_viol leads to infeasibility. When I set hard_constr_tol=1e-8, then I get infeas=0.
Please let me know if this is correct.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions