Desktop App¶
The Savanty desktop app provides a native GUI for solving optimization problems.
Installation¶
Bash
# Run directly
uvx --from 'savanty[desktop]' savanty-desktop
# Or install permanently
pip install 'savanty[desktop]'
savanty-desktop
Interface Overview¶
Main Window¶
The desktop app provides a clean interface with:
- Problem Input - Text area for your problem description
- Example Selector - Dropdown with pre-built examples
- Solve Button - Submits your problem
- Results Panel - Shows solution, ASP code, and visualization
Built-in Examples¶
Select from ready-made examples:
- Nurse Scheduling - Hospital shift scheduling with constraints
- Bakery Delivery - Route planning with time windows
- Support Tickets - Task assignment with skills
- Wedding Seating - Event seating with relationships
- Course Timetabling - University scheduling
- Startup Team - Team formation with skills
Results Tabs¶
After solving, switch between:
- Solution - The assignments and schedule
- ASP Code - The generated logic program
- Visualization - Formatted display
Workflow¶
- Select an example or write your own problem
- Click "Solve" to process
- Answer questions if Savanty needs clarification
- Review results in the tabbed panel
Keyboard Shortcuts¶
| Shortcut | Action |
|---|---|
Ctrl+Enter |
Solve problem |
Ctrl+N |
Clear input |
Ctrl+Q |
Quit application |
Configuration¶
The desktop app uses the same environment variables as other interfaces:
Requirements¶
The desktop app requires the Slint UI library:
- Linux: Works on most distributions with X11 or Wayland
- macOS: macOS 11 (Big Sur) or later
- Windows: Windows 10 or later with Visual C++ Redistributable
Troubleshooting¶
"Slint not found"¶
Reinstall with desktop extras:
Window doesn't appear¶
Check your display environment:
High DPI scaling issues¶
Set scaling factor: