Thread Subject: Linear Programming with discrete values

Subject: Linear Programming with discrete values

From: Isaac

Date: 26 Oct, 2009 23:51:03

Message: 1 of 2

Hi everybody.
Do You maybe know an application wich can solve a typical linear programming

max v1'*x

v2'*x<=k

but with costraint
x(i,1)= 0 or 20

where x is the solution (a vector), v1 and v2 two vectors of the same size of x and k a real positive number


thanks :)

Subject: Linear Programming with discrete values

From: Isaac

Date: 27 Oct, 2009 00:09:02

Message: 2 of 2

"Isaac " <asimov4000@hotmail.com> wrote in message <hc5cl7$5ln$1@fred.mathworks.com>...
> Hi everybody.
> Do You maybe know an application wich can solve a typical linear programming
>
> max v1'*x
>
> v2'*x<=k
>
> but with costraint
> x(i,1)= 0 or 20
>
> where x is the solution (a vector), v1 and v2 two vectors of the same size of x and k a real positive number
>
>
> thanks :)


i found the solution :D:D:D:D

function: BINTPROG

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com