Angryrou / UDAO2022

Apache License 2.0
0 stars 0 forks source link

MOGD returns int variables #118

Closed julhien closed 10 months ago

julhien commented 10 months ago

(Heavier code - suggestions welcome to lighten it) At each iteration, if the variables are best, compute raw variables and round them if IntegerVariable @Angryrou Is that what you had in mind? Additional: Make normalization optional in WeightedSumfor it to work with MOGD (normalization renders following gradients less meaningful)

julhien commented 10 months ago

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

julhien commented 10 months ago

Note: This makes the pipeline significantly slower for integer values.

Angryrou commented 10 months ago

Note: This makes the pipeline significantly slower for integer values.

Can we introduce another argument mode for three options - (1) expose raw variables right after each iteration (mode="all" or 0) (2) expose raw variables when best_loss is hit (mode="auto" or 1) - set to default (3) expose raw variables only at the end of all iterations (mode="one" or 2)