help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] R: glpksharp deletes model file


From: Pietro Scionti
Subject: [Help-glpk] R: glpksharp deletes model file
Date: Mon, 14 Apr 2014 16:26:09 +0200

Nevermind, I found the problem, I was calling GenerateModel with the model path, but not having any "display" I had to pass null.
 
 

Da: Pietro Scionti
Inviato: lunedì 14 aprile 2014 15.57
A: address@hidden
Cc: Giulia Carboni
Oggetto: glpksharp deletes model file

Hi everyone,
I'm learning GlpkSharp's API (http://yoyovicks.blog.free.fr/) to solve my model.
I'm encountering a strange behavior, I don't know if it's GlpkSharp's fault or if it's "native" glpk: when I call LPProblem.GenerateModel(string), my file is physically deleted from disk! I had to keep a backup copy and manually regenerate it for each iteration of the solver.
Any idea why is that and what parameters to use to prevent this, if there are any?
 
Thank you,
Pietro



Archimede S.r.l.
Sede Legale:
Via Manzoni, 82
Ponte S. Giovanni

P.IVA: 01992020543

Tel. 075 515 22 11
Fax. 075 515 22 99
www.archinet.it

**********************************************************************************************************************************************************************************************************************
La presente comunicazione, con le informazioni in essa contenute e ogni documento o file allegato, e' rivolta unicamente alla/e persona/e cui e' indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete i destinatari/autorizzati siete avvisati che qualsiasi azione, copia, comunicazione, divulgazione o simili basate sul contenuto di tali informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P., D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se avete ricevuto questa comunicazione per errore, vi preghiamo di darne immediata notizia al mittente e di distruggere il messaggio originale e ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il contenuto.

This e-mail and its attachments are intended for the addressee(s) only and are confidential and/or may contain legally privileged information. If you have received this message by mistake or are not one of the addressees above, you may take no action based on it, and you may not copy or show it to anyone; please reply to this e-mail and point out the error which has occurred.
**********************************************************************************************************************************************************************************************************************

reply via email to

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