Y-Wakuta / nosql_time-series_schema_designer

GNU General Public License v3.0
1 stars 0 forks source link

Unused CF was recommended in the result #47

Closed Y-Wakuta closed 4 years ago

Y-Wakuta commented 4 years ago

Problem

Some recommended CFs are never used in any timestep

Cause

The numerical issue in Gurobi solver.

Isn't the cause is constraints?

Therefore, this bug is not produced by constraints. Therefore, this possibly produced by the objective function.

    Warning: Model contains large matrix coefficient range
         Consider reformulating model or setting NumericFocus parameter
         to avoid numerical issues.

Solutions

        # strict gap
        Gurobi.GRBsetintparam @ptr, Gurobi::GRB_INT_PAR_OUTPUTFLAG, 0
        # strict gap
        Gurobi.GRBsetintparam @ptr, Gurobi::GRB_DBL_ATTR_MIPGAP, 0
        Gurobi.GRBsetintparam @ptr, Gurobi::GRB_DBL_PAR_MIPGAPABS, 0