Veda2.0 Released!


About exporting LP files
#1
Hello,

Can VEDA control exporting LP files for optimization models generated by TIMES?

Thanks,
Siyuan
Reply
#2
Veda doesn't have much role, but if you select CONVERTD as the solver for a case, you can use all the options GAMS presents to export via CONVERTD.opt file. Veda does support analyzing the Jacobian to help identify scaling issues.

Does this help?
Reply
#3
(06-09-2022, 11:34 AM)AKanudia Wrote: Veda doesn't have much role, but if you select CONVERTD as the solver for a case, you can use all the options GAMS presents to export via CONVERTD.opt file. Veda does support analyzing the Jacobian to help identify scaling issues.

Does this help?

This helped a lot! CONVERTD works. It can export Cplex LP/MPS files with proper settings in CONVERTD.opt.

The variables are defined in the way of x1, x2, ..., xn, which may not be easy to understand. Although this is beyond the scope of VEDA, would greatly appreciate if you have any suggestions on CONVERTD settings to export LP/MPS files with internal variable names. Thank you!
Reply
#4
You can use the dictionary to retain the original variable and equation names, see instructions:
https://www.gams.com/latest/docs/S_CONVERT.html

You can also get the model written out fine in the lp format by Cplex, by using the writelp option in Cplex.opt (together with names 1).  But that requires having a Cplex license.
Reply
#5
(12-09-2022, 01:39 PM)Antti-L Wrote: You can use the dictionary to retain the original variable and equation names, see instructions:
https://www.gams.com/latest/docs/S_CONVERT.html

You can also get the model written out fine in the lp format by Cplex, by using the writelp option in Cplex.opt (together with names 1).  But that requires having a Cplex license.

Thank you for the quick response! The suggested Cplex setting (writelp xxx.lp and names 1) works great!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Optimizing solver-opt files for stochastic runs LucasRM 4 651 13-01-2025, 08:18 PM
Last Post: LucasRM
  Run Manager - Base files Dmytror 5 1,906 31-01-2024, 03:58 PM
Last Post: Ravinder
  Capacity units in gdx/dd files vs veda iris 14 6,659 03-01-2024, 08:04 PM
Last Post: Antti-L
Question VBA code in Veda input files AKanudia 11 3,982 29-12-2023, 09:50 AM
Last Post: AKanudia
  Reducing files Ceas19 14 6,687 10-05-2023, 12:59 PM
Last Post: Ceas19
  Selected files do not contain any Tag(s) which can be read with veda vangelis 5 3,083 10-03-2023, 12:10 PM
Last Post: AKanudia
  Veda files clogging up system clenox 5 4,689 19-11-2021, 03:30 PM
Last Post: Antti-L
  PostgreSQL data files have a huge Size Mahmoud 5 6,494 10-06-2021, 09:03 AM
Last Post: AKanudia
  no records generated for subres files AngeBlanchard 3 3,731 03-06-2021, 01:24 PM
Last Post: AKanudia
  Relation files master does not exist dtsintsk 1 2,371 02-06-2021, 11:38 PM
Last Post: Ravinder

Forum Jump:


Users browsing this thread: 1 Guest(s)