VRP pricer plugin.
Definition in file pricer_vrp.cpp.
#include "pricer_vrp.h"
#include "pqueue.h"
#include <iostream>
#include <map>
#include <vector>
#include "scip/cons_linear.h"
Go to the source code of this file.
Functions | |
SCIP_DECL_PRICERINIT (ObjPricerVRP::scip_init) | |
SCIP_DECL_PRICERREDCOST (ObjPricerVRP::scip_redcost) | |
SCIP_DECL_PRICERFARKAS (ObjPricerVRP::scip_farkas) | |
SCIP_DECL_PRICERINIT | ( | ObjPricerVRP::scip_init | ) |
initialization method of variable pricer (called after problem was transformed)
Because SCIP transformes the original problem in preprocessing, we need to get the references to the variables and constraints in the transformed problem from the references in the original problem.
Definition at line 83 of file pricer_vrp.cpp.
References i, SCIP_CALL, SCIP_OKAY, SCIPgetTransformedCons(), and SCIPgetTransformedVar().
SCIP_DECL_PRICERREDCOST | ( | ObjPricerVRP::scip_redcost | ) |
Pricing of additional variables if LP is feasible.
possible return values for *result:
Definition at line 225 of file pricer_vrp.cpp.
References result, SCIP_CALL, SCIP_OKAY, SCIP_SUCCESS, and SCIPdebugMsg.
SCIP_DECL_PRICERFARKAS | ( | ObjPricerVRP::scip_farkas | ) |
Pricing of additional variables if LP is infeasible.
Definition at line 246 of file pricer_vrp.cpp.
References SCIP_CALL, SCIP_OKAY, and SCIPdebugMsg.