The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Bintprog Constraints
Replies: 8   Last Post: May 8, 2013 11:34 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alan Weiss

Posts: 1,430
Registered: 11/27/08
Re: Bintprog Constraints
Posted: May 7, 2013 7:41 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 5/7/2013 4:04 AM, Alfredo Martini wrote:
> Hello everyone,
> I'm in trouble with bintprog: are there any ways of adding other
> constraints equations, apart from the existing?
> I mean, while in a standard case we have
> A x <= b
> Aeq x = beq
> So, I would like to know if I can insert another equation like
> A2eq x = b2eq
> Or, even better
> A2eq y = b2eq
> Thanks in advice.

You might misunderstand the existing constraints. The constraint
Ax <= b
is a matrix inequality, meaning you can have as many rows of
inequalities as you like. That certainly covers your requested case
A2eq = b2eq

For more information, see

Alan Weiss
MATLAB mathematical toolbox documentation

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.