Export a model as an LP file

1,285 views
Skip to first unread message

N.T

unread,
Jun 18, 2014, 11:32:58 AM6/18/14
to or-tools...@googlegroups.com
Hi,

how can I export my LP model with CLP solver in C#?
I tried using 
bool ExportModelAsLpFormat(bool obfuscated, string model_str) 
but it didn't work. The lp file is empty. 
Thanks

Laurent Perron

unread,
Jun 18, 2014, 1:12:29 PM6/18/14
to or-tools...@googlegroups.com
Can you try with

  string Solver.ExportModelAsLpFormat(bool obfuscated) ?

Thanks
--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discuss+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

N.T

unread,
Jun 20, 2014, 4:01:48 AM6/20/14
to or-tools...@googlegroups.com

It's OK.

Thanks

On Wednesday, June 18, 2014 7:12:29 PM UTC+2, Laurent Perron wrote:
Can you try with

  string Solver.ExportModelAsLpFormat(bool obfuscated) ?

Thanks

On Wed Jun 18 2014 at 5:32:59 PM, N.T <touat...@gmail.com> wrote:
Hi,

how can I export my LP model with CLP solver in C#?
I tried using 
bool ExportModelAsLpFormat(bool obfuscated, string model_str) 
but it didn't work. The lp file is empty. 
Thanks

--
You received this message because you are subscribed to the Google Groups "or-tools-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to or-tools-discu...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages