Skip to content

The value of abs_eps and rel_eps #11

Open
@ZedongPeng

Description

@ZedongPeng

I tried a lot of examples with the detect_special_structure function. In most cases, it works well. However, some cases failed. The main reason is the value of abs_eps in the intersect function in fbbt.
The failed examples are {'4stufen', 'bchoco06', 'bchoco07', 'bchoco08', 'beuster', 'chp_partload', 'contvar', 'ex3pb', 'forest', 'ghg_1veh', 'ghg_2veh', 'ghg_3veh', 'hda', 'heatexch_gen1', 'heatexch_gen2', 'heatexch_gen3', 'minlphix', 'super1', 'super2', 'super3', 'super3t', 'tanksize', 'uselinear'} here

In some examples, the gap between new_lower and new_upper is greater than 1e-6 but still very small. For example, the gap of 4stufen is 1.13e-05. However, for some examples, the gap is very big. For example, the gap of bchoco06 is 99990.0.

I am not quite familiar with fbbt, so I am not sure if there is a bug here. Any suggestions for the value of abs_eps and rel_eps?

btw, the oil example contains log10 function, which is not supported by suspect now. Is there any plan to extend the supported function?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions