Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Which function should I use to solve the sum of the varied integer product?

조회 수: 1 (최근 30일)
Tingting Zhang
Tingting Zhang 2015년 11월 19일
마감: MATLAB Answer Bot 2021년 8월 20일
I want to get all the possible combinations of ki which subject to the equation that sigma(i*ki)=10. i is an integer from 1 to 10; ki is also an integer with a value varied from -3 to 3. For example, ki=1 for i=10 and ki=0 for i≠10. This is only one situation. Another situation is that ki=2 for i=5, ki=0 for i≠5 etc. Integer linear programming seems to be not suitable to this situation. Which function should be used to solve this problem? Thanks

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by