Thread Subject: linprog

Subject: linprog

From: cagricihasan

Date: 23 Mar, 2007 14:13:15

Message: 1 of 3

Hi
I have a smaal optimization problem which i will solve with linprog.
My problem and constraints are lineers. Problem's solution must be
integer. But sometimes my results are doubles. How do i define my
decision variables to be integer? Thanks.

Subject: linprog

From: Dmitrey

Date: 24 Mar, 2007 02:19:15

Message: 2 of 3

You can't solve the task via linprog. Try using MILP solvers, for
example (they both have bindings to MATLAB)

glpk
http://www.gnu.org/software/glpk/

or lp_solve
http://sourceforge.net/projects/lpsolve



WBR, Dmitrey

On Mar 23, 9:13 pm, cagricihasan <cagriciha...@yahoo.com> wrote:
> Hi
> I have a smaal optimization problem which i will solve with linprog.
> My problem and constraints are lineers. Problem's solution must be
> integer. But sometimes my results are doubles. How do i define my
> decision variables to be integer? Thanks.

Subject: linprog

From: cagricihasan

Date: 24 Mar, 2007 11:55:54

Message: 3 of 3

dmitrey wrote:
>
>
> You can't solve the task via linprog. Try using MILP solvers, for
> example (they both have bindings to MATLAB)
>
> glpk
> <http://www.gnu.org/software/glpk/>
>
> or lp_solve
> <http://sourceforge.net/projects/lpsolve>
>
>
>
> WBR, Dmitrey
>
> On Mar 23, 9:13 pm, cagricihasan <cagriciha...@yahoo.com>
wrote:
>> Hi
>> I have a smaal optimization problem which i will solve with
> linprog.
>> My problem and constraints are lineers. Problem's solution must
> be
>> integer. But sometimes my results are doubles. How do i define
my
>> decision variables to be integer? Thanks.
>
>
>
  Thank you

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