Skip to main content
1-Visitor
November 2, 2012
Solved

Solve Block question - Finding Integers

  • November 2, 2012
  • 2 replies
  • 3913 views

Solve Block question:

Hi All,

I am trying to setup the following system of equalities with Solve Block function, below, and to see if it is possible to find one or more (Integer ONLY) results to this equality. ( Please see attachment. )

I know it needs constraints to search for ONLY Integers, but I don’t know how to set this up.

Please could someone review the following equality to see if it is possible to find one or more Integer results to this equality.

Any help or advice gratefully received.

Best regards,

Lea…

PS - I am using Mathcad version 15.

Best answer by Fred_Kohlhepp

Using "floor" you can get time1 to be an integer. More than that the solve block fails.

2 replies

23-Emerald I
November 2, 2012

Either my computer has issues, or your attachment is blank.

1-Visitor
November 2, 2012

HI Fred,

I have just re-submitted the attachment.

I don't know what happened before.

Many thanks for your attention.

Lea...

23-Emerald I
November 2, 2012

Using "floor" you can get time1 to be an integer. More than that the solve block fails.

24-Ruby IV
November 5, 2012

See also

http://communities.ptc.com/message/188050#188050

BUt this problem has not one (20 112 - the maximize solution) bur two solution 20 - 112 and 17 -114

See

http://twt.mpei.ac.ru/ochkov/T-2012/3_19_Chairs_3.png