Re: [Fwd: Integer solutions]

Michael Hennebry <[email protected]> Wed, 18 Jan 2023 12:58:52 -0600 (CST)
Newsgroups gmane.comp.gnu.glpk
Message-ID <[email protected]>
On Wed, 18 Jan 2023, Andrew Makhorin wrote:

> -------- Forwarded Message --------
>
> Date: Tue, 17 Jan 2023 20:33:01 -0800
> Subject: Integer solutions
> To: '[email protected]' <[email protected]>
> From: [email protected]
>> <!--

Should not have html.

>> If I call glp_simplex without specifying that any variables be
>> integers and then call glp_intop it looks like it at least makes the
>> objective function an integer.

IIRC that is not how gpl_intop is supposed to work.
In any case, why are you calling glp_intop.

>> case first would be faster. Likewise I determine feasibility of a
>> system of inequalities with a zero objective and want to do this in
>> both reals and then integers.

I try to avoid a zero objective if I can.
The solver's selection mechanisms will encounter a lot of ties.
Of course 'tis possibe that GLPK has mechaanisms
specificaly for a zero objective.
Perhaps Andrew will tell us.

-- 
Michael   [email protected]
"Occasionally irrational explanations are required"  --  Luke Roman