Skip to main content
1-Visitor
Sep 3, 2012 1:29 PM UTC
Question

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?

2 replies

24-Ruby IV
Sep 3, 2012 2:03 PM UTC

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

Solving & Optimization Expansion Pack (SOEP).

See "II" in the Maximize function:

http://twt.mpei.ac.ru/ochkov/Mathcad_14/Chapter3/3_019b_Chairs.gif

Translate
1-Visitor
Sep 3, 2012 2:56 PM UTC

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

Translate