Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forest problem has wrong ideal and nadir values #146

Open
juropo opened this issue Aug 27, 2024 · 1 comment
Open

Forest problem has wrong ideal and nadir values #146

juropo opened this issue Aug 27, 2024 · 1 comment
Assignees

Comments

@juropo
Copy link

juropo commented Aug 27, 2024

Forest problem has hard coded ideal and nadir values at the moment. If comparing is set to False, these values are wrong.

To fix this issue and to support different data files in the future, these values should be found through optimization. I'm pretty sure that in this specific problem, you will always be able to find ideals by just optimizing for a single objective and the nadirs are the lowest values found when optimizing for one of the other objectives alone.

@jpajasmaa
Copy link

Also noticed minor bug on f_2 objective

f_2 = Objective(
name="Wood stock volume",
symbol="f_2",
func=f_2_func,
maximize=True,
ideal=ideals["f_2"],
nadir=nadirs["f_3"],
objective_type=ObjectiveTypeEnum.analytical,
is_linear=True,
is_convex=False, # not checked
is_twice_differentiable=True

The following part looks like a bug:
ideal=ideals["f_2"],
nadir=nadirs["f_3"],

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants