Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- Integer Constraint

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-03-2012
09:29 AM

09-03-2012
09:29 AM

Integer Constraint

It seems that in Mathcad, it is not possible to define a set? Nor is it possible to add a constraint to a solve block that constrains a variable to membership of a set (not even the fundamental sets upon which the basic number system is built, such as integers!!!). For a high-end maths program, this seems pretty shabby. Especially when you consider that even in Excel it is a piece of cake to add an integer, or binary constraint in the solver. What is going on PTC?

Labels:

2 REPLIES 2

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-03-2012
10:03 AM

09-03-2012
10:03 AM

Re: Integer Constraint

It (Integer Constraint) is possible use in old mathcad with

Solving & Optimization Expansion Pack (SOEP).

See "II" in the Maximize function:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

09-03-2012
10:56 AM

09-03-2012
10:56 AM

Re: Integer Constraint

How do I do this in Mathcad Prime 2.0? This new Knitro solver you're using must have that capability?