https://github.com/jaanulo/cplex-plugin
CPLEX OPL language support and Zero-Config runner for IntelliJ IDEA.
https://github.com/jaanulo/cplex-plugin
cplex intellij-plugin operations-research opl
Last synced: 26 days ago
JSON representation
CPLEX OPL language support and Zero-Config runner for IntelliJ IDEA.
- Host: GitHub
- URL: https://github.com/jaanulo/cplex-plugin
- Owner: JAANULO
- License: apache-2.0
- Created: 2026-04-05T15:59:43.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-01T22:52:28.000Z (27 days ago)
- Last Synced: 2026-05-02T00:26:53.801Z (27 days ago)
- Topics: cplex, intellij-plugin, operations-research, opl
- Language: Kotlin
- Homepage: https://plugins.jetbrains.com/plugin/31125-cplex-opl/
- Size: 3.76 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# CPLEX-Plugin
Profesjonalna wtyczka do obsługi języka IBM ILOG CPLEX OPL w środowisku IntelliJ IDEA.
Zapewnia kolorowanie składni, inteligentne podpowiedzi oraz integrację z silnikiem solvera.
[🇬🇧 English](#english) | [🇵🇱 Polski](#polski)
Provides native support for IBM ILOG CPLEX Optimization Programming Language (OPL) in JetBrains IDEs.
- Syntax highlighting and code completion for OPL
- Run configuration for local oplrun solver with .mod/.dat auto-pairing
- Clickable solver errors in console, structure view, templates, and formatter
---
🇬🇧 English
Plugin adding native support for IBM ILOG CPLEX Optimization Programming Language (OPL) in JetBrains environments (IntelliJ IDEA, PyCharm, etc.).
### Features
* **Syntax Highlighting:** Keyword, model structure, and operator highlighting for `.mod` files.
* **Code Completion:** Basic keyword and built-in function completion.
* **Run Integration:** Built-in run configuration (`Run Opl Model`) for direct `oplrun` execution from the editor.
* **Auto-Pairing:** Automatic `.dat` pairing when a matching file name exists.
* **Path Support:** Manual `oplrun` path setup plus auto-detect button for default install locations.
* **Console Navigation:** Clickable error links (for `.mod`) in run console.
* **Structure View:** Side panel listing declarations, objective, and constraints.
* **Editor Utilities:** Live templates, commenter (`Ctrl+/`), brace matcher, and basic code formatter.
### Installation (Manual Install)
Before the plugin reaches the official JetBrains Marketplace, you can install it manually:
1. Go to the [Releases](../../releases) tab on GitHub and download the latest `.zip` package.
2. Open your IDE (e.g., IntelliJ IDEA, PyCharm).
3. Navigate to Settings/Preferences > Plugins.
4. Click the gear icon (⚙️) at the top and select Install plugin from disk....
5. Select the downloaded `.zip` file and restart the IDE.
### Requirements
A local installation of **IBM ILOG CPLEX Studio** is required for Run Configuration execution. You can set `oplrun` manually in Run Configuration or use auto-detect from common install paths.
---
🇵🇱 Polski
Wtyczka dodająca natywne wsparcie dla języka IBM ILOG CPLEX Optimization Programming Language (OPL) w środowiskach JetBrains (IntelliJ IDEA, PyCharm, itp.).
### Funkcje
* **Kolorowanie składni:** Podświetlanie słów kluczowych, struktury modelu oraz operatorów dla plików `.mod`.
* **Code Completion:** Podstawowe autouzupełnianie słów kluczowych i funkcji wbudowanych.
* **Integracja uruchamiania:** Wbudowana konfiguracja `Run Opl Model`, wywołująca lokalny `oplrun` bezpośrednio z IDE.
* **Auto-parowanie plików:** Automatyczne podpinanie `.dat`, gdy istnieje plik o tej samej nazwie.
* **Obsługa ścieżki:** Ręczne wskazanie `oplrun` oraz przycisk auto-detekcji domyślnych lokalizacji.
* **Nawigacja błędów:** Klikalne linki błędów solvera (dla `.mod`) w konsoli uruchomienia.
* **Structure View:** Boczne drzewo elementów modelu (deklaracje, cel, ograniczenia).
* **Narzędzia edytora:** Live templates, komentowanie (`Ctrl+/`), pary nawiasów i podstawowy formatter.
### Instalacja (Instalacja Ręczna)
Zanim wtyczka trafi do oficjalnego sklepu JetBrains Marketplace, możesz ją zainstalować ręcznie:
1. Przejdź do zakładki [Releases](../../releases) na GitHubie i pobierz najnowszą paczkę `.zip`.
2. Otwórz swoje środowisko (np. IntelliJ IDEA, PyCharm).
3. Wejdź w Settings/Preferences > Plugins.
4. Kliknij ikonę zębatki (⚙️) na górze i wybierz Install plugin from disk....
5. Wskaż pobrany plik `.zip` i zrestartuj IDE.
### Wymagania
Do działania Run Configuration wymagana jest lokalna instalacja **IBM ILOG CPLEX Studio**. Ścieżkę do `oplrun` (lub `oplrun.exe` na Windows) można wskazać ręcznie albo wykryć automatycznie dla typowych lokalizacji.