Page 1 of 1

Can someone solve the CONSTRAINT using JAVA. Cutting rod problem

Posted: Tue May 24, 2022 7:58 am
by answerhappygod
Can someone solve the CONSTRAINT using JAVA. Cutting rod
problem
Can Someone Solve The Constraint Using Java Cutting Rod Problem 1
Can Someone Solve The Constraint Using Java Cutting Rod Problem 1 (43.6 KiB) Viewed 18 times
Constraints: Lengths with even numbers can be included multiple times, but lengths with odd numbers can be included only one time. So, for the same example, the maximum obtainable value is by taking lengths 6 and 2 since length #1 cannot be included more than once. Length i 1 2 3 4 5 6 7 8 Price pi 3 5 8 9 10 17 18 20