-
Notifications
You must be signed in to change notification settings - Fork 946
Expand file tree
/
Copy pathconfig_phase_2.yaml
More file actions
58 lines (51 loc) · 2.23 KB
/
config_phase_2.yaml
File metadata and controls
58 lines (51 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Configuration for breaking through the circle packing plateau
max_iterations: 100
checkpoint_interval: 10
log_level: "INFO"
# LLM configuration
llm:
primary_model: "google/gemini-2.0-flash-001"
# primary_model: "llama3.1-8b"
primary_model_weight: 0.8
secondary_model: "anthropic/claude-3.7-sonnet"
# secondary_model: "llama-4-scout-17b-16e-instruct"
secondary_model_weight: 0.2
api_base: "https://openrouter.ai/api/v1"
# api_base: "https://api.cerebras.ai/v1"
temperature: 0.7
top_p: 0.95
max_tokens: 8192
timeout: 600
# Prompt configuration
prompt:
system_message: |
You are an expert mathematician specializing in circle packing problems and computational geometry. We're trying to reach the AlphaEvolve target of 2.635 for the sum of radii when packing 26 circles in a unit square. The current implementation has plateaued at 2.377, so we need significant improvements.
Key insights to explore:
1. The optimal arrangement likely involves variable-sized circles
2. A pure hexagonal arrangement may not be optimal due to edge effects
3. The densest known circle packings often use a hybrid approach
4. The optimization routine is critically important - simple physics-based models with carefully tuned parameters
5. Consider strategic placement of circles at square corners and edges
6. Adjusting the pattern to place larger circles at the center and smaller at the edges
7. The math literature suggests special arrangements for specific values of n
Focus on breaking through the plateau by trying fundamentally different approaches - don't just tweak parameters.
num_top_programs: 4
use_template_stochasticity: true
# Database configuration
database:
population_size: 70 # Larger population for more diversity
archive_size: 30
num_islands: 5
elite_selection_ratio: 0.3
exploitation_ratio: 0.6 # Slightly lower to encourage exploration
# Evaluator configuration
evaluator:
timeout: 90 # Extended timeout to allow for more complex optimization
cascade_evaluation: true
cascade_thresholds: [0.5, 0.8]
parallel_evaluations: 4
use_llm_feedback: false
# Evolution settings
diff_based_evolution: false
allow_full_rewrites: true # Definitely allow full rewrites
max_code_length: 100000