Solving the Model
GenX.fix_integers — Methodfix_integers(jump_model::Model)This function fixes the iteger variables ones the model has been solved in order to calculate approximations of dual variables.
Arguments
jump_model::Model: a model object containing that has been previously solved.
Returns
nothing (modifies an existing-solved model in the memory). solve() must be run again to solve and getdual veriables
GenX.solve_model — Methodsolve_model(EP::Model, setup::Dict)Description: Solves and extracts solution variables for later processing
Arguments
EP::Model: a JuMP model representing the energy optimization problemsetup::Dict: a Dict containing GenX setup flags
Returns
EP::Model: the solved JuMP modelsolver_time::Float64: time taken to solve the model