06-09-2022, 10:04 AM
Hello,
Can VEDA control exporting LP files for optimization models generated by TIMES?
Thanks,
Siyuan
Can VEDA control exporting LP files for optimization models generated by TIMES?
Thanks,
Siyuan
Veda2.0 Released!
About exporting LP files
|
06-09-2022, 10:04 AM
Hello,
Can VEDA control exporting LP files for optimization models generated by TIMES? Thanks, Siyuan
06-09-2022, 11:34 AM
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?
12-09-2022, 07:36 AM
(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. 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!
12-09-2022, 01:39 PM
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.
13-09-2022, 09:56 AM
(12-09-2022, 01:39 PM)Antti-L Wrote: You can use the dictionary to retain the original variable and equation names, see instructions: Thank you for the quick response! The suggested Cplex setting (writelp xxx.lp and names 1) works great! |
« Next Oldest | Next Newest »
|