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

setting objective function #2

Open
git-gnan opened this issue Sep 9, 2020 · 0 comments
Open

setting objective function #2

git-gnan opened this issue Sep 9, 2020 · 0 comments

Comments

@git-gnan
Copy link

git-gnan commented Sep 9, 2020

How can we set the objective function for the lp model

// Minimize
// OBJ: 64.139941691 DM_0 + 26.6666666667 DM_1 + 8.88888888889 DM_2
// + 50.6329113924 DM_3 + 56.1111111111 DM_4 + 25.2525252525 DM_5
// Subject To
// _C1: DM_0 >= 0
// _C10: DM_0 + DM_1 + DM_2 + DM_3 + DM_4 + DM_5 >= 18.48
// _C11: DM_0 + DM_1 + DM_2 + DM_3 + DM_4 + DM_5 <= 20.328
// _C12: 9.24 DM_0 + 6 DM_1 + 4.5 DM_2 + 10 DM_3 + 10 DM_4 >= 163.6911
// _C13: 9.24 DM_0 + 6 DM_1 + 4.5 DM_2 + 10 DM_3 + 10 DM_4 <= 218.2548
// _C14: 0.09 DM_0 + 0.13 DM_1 + 0.006 DM_2 + 0.2 DM_3 + 0.16 DM_4 >= 2.2257
// _C15: 0.09 DM_0 + 0.13 DM_1 + 0.006 DM_2 + 0.2 DM_3 + 0.16 DM_4 <= 2.9676
// _C16: 3 DM_0 + 3.6 DM_1 + 6 DM_2 + 2.7 DM_3 + 8 DM_4 + 280 DM_5 >= 93.342
// _C17: 3 DM_0 + 2.9 DM_1 + 3 DM_2 + 5.7 DM_3 + 7 DM_4 + 190 DM_5 >= 59.73
// _C2: DM_1 >= 0
// _C3: DM_2 >= 0
// _C4: DM_3 >= 0
// _C5: DM_4 >= 0
// _C6: DM_5 >= 0
// _C7: DM_2 <= 2.772
// _C8: DM_3 + DM_4 + DM_5 <= 11.088
// _C9: DM_3 + DM_4 + DM_5 >= 3.696
// End

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

1 participant