Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

optimization - constraint variable

Please login with a confirmed email address before reporting spam

Hi

I used the 2D optimization model. i used two constraint variable named as n and dep.
n has under bound 3 and upper bound 13. when it calculate, I want to chage n to 3, 5, 7 like whole number. but when compute is conducted, n changed rational number. is there any method that changed the constraint variable as whole number?

Thank you

0 Replies Last Post 10 avr. 2017, 23:24 UTC−4
COMSOL Moderator

Hello DoWon Heo

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.