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
  Subject: How to prevent VEDA from generating vd-files during model runs? KristofferEML 4 817 22-08-2025, 11:48 AM
Last Post: KristofferEML
  Optimizing solver-opt files for stochastic runs LucasRM 4 1,625 13-01-2025, 08:18 PM
Last Post: LucasRM
  Run Manager - Base files Dmytror 5 2,742 31-01-2024, 03:58 PM
Last Post: Ravinder
  Capacity units in gdx/dd files vs veda iris 14 8,541 03-01-2024, 08:04 PM
Last Post: Antti-L
Question VBA code in Veda input files AKanudia 11 5,512 29-12-2023, 09:50 AM
Last Post: AKanudia
  Reducing files Ceas19 14 8,700 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,970 10-03-2023, 12:10 PM
Last Post: AKanudia
  Veda files clogging up system clenox 5 5,678 19-11-2021, 03:30 PM
Last Post: Antti-L
  PostgreSQL data files have a huge Size Mahmoud 5 7,530 10-06-2021, 09:03 AM
Last Post: AKanudia
  no records generated for subres files AngeBlanchard 3 4,321 03-06-2021, 01:24 PM
Last Post: AKanudia

Forum Jump:


Users browsing this thread: 1 Guest(s)