cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Solve block not giving answer

SS_9781956
6-Contributor

Solve block not giving answer

Hello,

 

Why solve block is unable to give the maximum value?

2 REPLIES 2

Are you looking for something like this:

Werner_E_1-1668368543974.png

Obviously a,b,c should be as small as possible while d and ss should be as large as possible.

 

But in case a,b,c,d must be integers and you only want to cycle through the values with the given steps only, you may do it in a small program using nested for-loops:

Werner_E_0-1668372009067.png

 

Top Tags