help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] what is the prototype for lpx_integer?


From: Andrew Makhorin
Subject: Re: [Help-glpk] what is the prototype for lpx_integer?
Date: Thu, 8 Jul 2004 02:33:47 +0400

>Section 2.10.7 of the reference manual
>(version 4.4) does not show the prototype for lpx_integer under the synopsis
>section. Could someone tell me what the calling convention is? The
>documentation mentions that an optimal solution is required as input, and
>I'm wondering if this is an argument.

The calling convention is:

#include "glpk.h"
int lpx_integer(LPX *lp);

where lp is a pointer to the problem object.

>As an aside, is there a way to give
>lpx_simplex (and similar routines) a starting point to search from?

Yes. You can specify a starting basis for lpx_simplex via routines
lpx_set_row_stat and lpx_set_col_stat. Please consult Section 2.5 in the
reference manual.

Andrew Makhorin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]