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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

How do I set constraints to whole numbers

ppal
17-Peridot

How do I set constraints to whole numbers

Constraint Whole.png

1 ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:ppal)

It is not possible to constrain a solve block to integer solutions.

View solution in original post

8 REPLIES 8
nas0k
7-Bedrock
(To:ppal)

Could you change the default setting showing 3 decimal places to 0?

ppal
17-Peridot
(To:nas0k)

No.

VladimirN
24-Ruby II
(To:ppal)

What you mean by "No"?

May be so

There are several solutions.  Assuming positive integer solutions only:

integersolns.PNG

Alan

RichardJ
19-Tanzanite
(To:ppal)

It is not possible to constrain a solve block to integer solutions.

Maple

LucMeekes
23-Emerald III
(To:ppal)

Taking all the above knowledge together:

Success!

Luc

Top Tags