This repository contains the implementation for the paper "Scalable Risk-Averse Well-Placement Optimization Using Quadratic Knapsack Problem and Randomized Singular-Value Decomposition" (SPE-J-0325-0021).
A scalable framework for risk-averse well placement optimization that:
- Formulates well placement as a Quadratic Knapsack Problem (QKP) with mean-variance objectives
- Uses Gaussian Process (GP) regression to model spatial correlations in well productivity
- Employs Randomized SVD for efficient low-rank approximation of covariance matrices
- Achieves significant computational speedup while maintaining solution quality
- Scalable optimization: Handles large candidate well sets (1000+ locations)
- Risk-aware decisions: Balances expected NPV against portfolio variance
- Efficient computation: RSVD approximation provides 10-100x speedup
- Flexible framework: Supports multiple GP kernels and solver configurations
-
Clone the repository:
git clone https://github.com/rfarell/qkp-well-placement.git cd qkp-well-placement -
Install dependencies:
pip install -r requirements.txt
-
Ensure you have Gurobi installed and licensed (required for the QKP solver).
# Generate scenarios and run optimization
./run.sh
# Run with custom experiment name
./run.sh -n my_experiment
# Skip scenario generation (use existing)
./run.sh --skip-scenariosKey parameters in config/config.yaml:
N_PUDS: Candidate well locations (e.g., [100, 500, 1000])LAMBDA_VALUES: Risk aversion parameters [0-1]RSVD_R: Low-rank approximation ranksVARIOGRAMS: GP kernel types (rbf, exponential, matern)
The framework produces:
- Optimal well placement solutions for different risk preferences
- Performance comparisons between exact and RSVD-approximated solutions
- Computational speedup analysis
- Solution quality metrics (objective values, variance reduction)
If you use this code in your research, please cite:
@article{farell2025scalable,
title={Scalable Risk-Averse Well-Placement Optimization Using Quadratic Knapsack Problem and Randomized Singular-Value Decomposition},
author={Farell, R. and Bickel, J. E. and Bajaj, C.},
journal={SPE Journal},
year={2025},
note={Paper Number: SPE-J-0325-0021 (Submitted)}
}
- Ryan Farell - University of Texas at Austin ([email protected])
- J. Eric Bickel - University of Texas at Austin
- Chandrajit Bajaj - University of Texas at Austin
This project is licensed under the MIT License.